|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OnMethod
This annotation specifies a BTrace probe point by specifying a java class (or classes), a method (or methods in it) and a specific location within it. A BTrace trace action method annotated by this annotation is called when matching the traced program reaches the specified location.
| Required Element Summary | |
|---|---|
java.lang.String |
clazz
The probed (or traced) class name. |
| Optional Element Summary | |
|---|---|
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. |
| Element Detail |
|---|
public abstract java.lang.String clazz
public abstract java.lang.String method
public abstract java.lang.String type
public abstract Location location
public abstract boolean follow
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||