Annotation Type Advice.Unused


  • @Documented
    @Retention(RUNTIME)
    @Target(PARAMETER)
    public static @interface Advice.Unused

    Indicates that the annotated parameter should always return a default value (i.e. 0 for numeric values, false for boolean types and null for reference types).

    Important: Don't confuse this annotation with Empty or MemberSubstitution.Unused. This annotation should be used only in combination with Advice.

    See Also:
    Advice, Advice.OnMethodEnter, Advice.OnMethodExit