|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Location
This annotation specifies a particular "location" within a traced/probed java method for BTrace probe specifications.
Optional Element Summary | |
---|---|
java.lang.String |
clazz
Specifies the fully qualified class name for certain kind of probe locations. |
java.lang.String |
field
Specifies the field name for Kind.FIELD_SET and Kind.FIELD_GET probes. |
int |
line
Specifies the line number for Kind.LINE probes. |
java.lang.String |
method
Specifies the method name for certain kind of probe locations. |
java.lang.String |
type
Specifies field or method type for certain kind of probe locations. |
Kind |
value
Kind of the location. |
Where |
where
Specifies where do want to probe with respect to the location of interest. |
public abstract Kind value
Kind
public abstract Where where
Where
public abstract java.lang.String clazz
public abstract java.lang.String method
public abstract java.lang.String field
Kind.FIELD_GET
,
Kind.FIELD_SET
public abstract java.lang.String type
public abstract int line
Kind.LINE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |