Package net.bytebuddy.asm
Annotation Type MemberSubstitution.Unused
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) public static @interface MemberSubstitution.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
orAdvice.Unused
. This annotation should be used only in combination withMemberSubstitution.Substitution.Chain.Step.ForDelegation
.