@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface ThisValue
Interception
, PayloadInterception
,
SplitInterception
or AdditionalInterception
. The type of the annotated parameter must be Object
or the type given in MethodSpec.className()
.
The declared type can only be used if it can be resolved by the system class loader.
If the instrumented method is a static method, the argument will be null
. If the instrumented method is a constructor, the value will be null
for InvocationType.ENTER
because
the super constructor has not been invoked yet.