Annotation Type ThisValue
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface ThisValueAssigns the instance that the instrumented method was invoked on to a parameter of a probe method. The probe method can be annotated withInterception,PayloadInterception,SplitInterceptionorAdditionalInterception. The type of the annotated parameter must beObjector the type given inMethodSpec.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 benullforInvocationType.ENTERbecause the super constructor has not been invoked yet.