Package net.bytebuddy.asm
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
forboolean
types andnull
for reference types).Important: Don't confuse this annotation with
Empty
orMemberSubstitution.Unused
. This annotation should be used only in combination withAdvice
.- See Also:
Advice
,Advice.OnMethodEnter
,Advice.OnMethodExit