Package co.elastic.apm.agent.bci
Annotation Type VisibleForAdvice
-
@Deprecated @Retention(SOURCE) @Target({TYPE,FIELD,METHOD,CONSTRUCTOR}) public @interface VisibleForAdviceDeprecated.This annotation is not needed forTracerAwareInstrumentation.indyPlugin()indy plugins}. That's because indy plugins never useinlined advices.A marker annotation which indicates that the annotated field or method has to be public because it is called by advice methods, which are inlined into other classes.Also, when using non
inlined advices, the signature of the advice method, as well as the advice class itself need to be public.