Enum EventElementType
- java.lang.Object
-
- java.lang.Enum<EventElementType>
-
- ru.ispras.microtesk.tools.adapter.trace.EventElementType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EventElementType>
public enum EventElementType extends java.lang.Enum<EventElementType>
TheEventElementType
enum
describes event element types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FRAME_ENTRY
FRAME_EXIT
INSTRUCTION
PC
REGISTER
REGISTER_TYPE
REGISTER_VALUE
SOURCE
THREAD_IDENTIFIER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static EventElementType
getType(java.lang.String element)
static EventElementType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EventElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THREAD_IDENTIFIER
public static final EventElementType THREAD_IDENTIFIER
-
SOURCE
public static final EventElementType SOURCE
-
PC
public static final EventElementType PC
-
INSTRUCTION
public static final EventElementType INSTRUCTION
-
REGISTER
public static final EventElementType REGISTER
-
REGISTER_VALUE
public static final EventElementType REGISTER_VALUE
-
REGISTER_TYPE
public static final EventElementType REGISTER_TYPE
-
FRAME_ENTRY
public static final EventElementType FRAME_ENTRY
-
FRAME_EXIT
public static final EventElementType FRAME_EXIT
-
-
Method Detail
-
values
public static EventElementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventElementType c : EventElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventElementType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
getType
public static EventElementType getType(java.lang.String element)
-
-