Annotation Type VisibleForAdvice


  • @Deprecated
    @Retention(SOURCE)
    @Target({TYPE,FIELD,METHOD,CONSTRUCTOR})
    public @interface VisibleForAdvice
    Deprecated.
    This annotation is not needed for TracerAwareInstrumentation.indyPlugin() indy plugins}. That's because indy plugins never use inlined 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.