Annotation Type This
Parameters that are annotated with this annotation will be assigned a reference to the instrumented object, if the instrumented method is not static. Otherwise, the method with this parameter annotation will be excluded from the list of possible binding candidates of the static source method.
Important: Don't confuse this annotation with Advice.This
or
MemberSubstitution.This
. This annotation should be used with
MethodDelegation
only.
- See Also:
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Determines if the annotated parameter should be bound tonull
when intercepting astatic
method.
-
Element Details
-
optional
boolean optionalDetermines if the annotated parameter should be bound tonull
when intercepting astatic
method.- Returns:
true
if the annotated parameter should be bound tonull
as a fallback.
- Default:
false
-