Package net.bytebuddy.asm
Annotation Interface MemberSubstitution.Unused
- Enclosing class:
MemberSubstitution
@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
for boolean
types and null
for reference types).
Important: Don't confuse this annotation with Empty
or
Advice.Unused
. This annotation should be used only in combination with MemberSubstitution.Substitution.Chain.Step.ForDelegation
.
- See Also: