@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OnMethod
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
clazz
The probed (or traced) class name.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
follow |
Location |
location
Identifies exact "location" or "point" of interest to
probe within the set of methods.
|
java.lang.String |
method
The probed (or traced) method name.
|
java.lang.String |
type
This is method type declaration.
|
public abstract java.lang.String clazz
public abstract java.lang.String method
public abstract java.lang.String type
Eg. public void myMethod(java.lang.String param) will become void (java.lang.String)
public abstract Location location
public abstract boolean follow