|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Kind>
com.sun.btrace.annotations.Kind
public enum Kind
This enum is specified in the Location annotation to specify probe point kind. This enum identifies various "points" of interest within a Java method's bytecode.
Enum Constant Summary | |
---|---|
ARRAY_GET
array element load |
|
ARRAY_SET
array element store |
|
CALL
method call |
|
CATCH
exception catch |
|
CHECKCAST
checkcast |
|
ENTRY
method entry |
|
ERROR
"return" because of no-catch |
|
FIELD_GET
getting a field value |
|
FIELD_SET
setting a field value |
|
INSTANCEOF
instanceof check |
|
LINE
source line number |
|
NEW
new object created |
|
NEWARRAY
new array created |
|
RETURN
return from method |
|
SYNC_ENTRY
entry into a synchronized block |
|
SYNC_EXIT
exit from a synchronized block |
|
THROW
throwing an exception |
Method Summary | |
---|---|
static Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Kind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Kind ARRAY_GET
public static final Kind ARRAY_SET
public static final Kind CALL
public static final Kind CATCH
public static final Kind CHECKCAST
public static final Kind ENTRY
public static final Kind ERROR
public static final Kind FIELD_GET
public static final Kind FIELD_SET
public static final Kind INSTANCEOF
public static final Kind LINE
public static final Kind NEW
public static final Kind NEWARRAY
public static final Kind RETURN
public static final Kind SYNC_ENTRY
public static final Kind SYNC_EXIT
public static final Kind THROW
Method Detail |
---|
public static Kind[] values()
for (Kind c : Kind.values()) System.out.println(c);
public static Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |