@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public static @interface Advice.Origin
Indicates that the annotated parameter should be mapped to a string representation of the instrumented method,
a constant representing the
Class declaring the adviced method or a
java.lang.reflect.Executable representing this method.
|Modifier and Type||Fields and Description|
Indicates that the origin string should be indicated by the
public abstract String value
Annotation.toString()representation of the method is assigned. Alternatively, a pattern can be assigned where:
#tinserts the method's declaring type.
#minserts the name of the method (
<init>for constructors and
<clinit>for static initializers).
#dfor the method's descriptor.
#sfor the method's signature.
#rfor the method's return type.
#character must be escaped by
\which can be escaped by itself. This property is ignored if the annotated parameter is of type
Copyright © 2014–2019. All rights reserved.