@Documented @Retention(value=RUNTIME) @Target(value=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
.
Advice
,
Advice.OnMethodEnter
,
Advice.OnMethodExit
Copyright © 2014–2024. All rights reserved.