Enum Types.JDK
- java.lang.Object
-
- java.lang.Enum<Types.JDK>
-
- org.openjdk.jmc.flightrecorder.writer.api.Types.JDK
-
- All Implemented Interfaces:
Serializable
,Comparable<Types.JDK>
,NamedType
,Types.Predefined
- Enclosing class:
- Types
public static enum Types.JDK extends Enum<Types.JDK> implements Types.Predefined
Types (subset of) defined by the JFR JVM implementation
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTypeName()
static Types.JDK
valueOf(String name)
Returns the enum constant of this type with the specified name.static Types.JDK[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TICKSPAN
public static final Types.JDK TICKSPAN
-
TICKS
public static final Types.JDK TICKS
-
THREAD_GROUP
public static final Types.JDK THREAD_GROUP
-
THREAD
public static final Types.JDK THREAD
-
STACK_TRACE
public static final Types.JDK STACK_TRACE
-
STACK_FRAME
public static final Types.JDK STACK_FRAME
-
METHOD
public static final Types.JDK METHOD
-
FRAME_TYPE
public static final Types.JDK FRAME_TYPE
-
CLASS
public static final Types.JDK CLASS
-
SYMBOL
public static final Types.JDK SYMBOL
-
CLASS_LOADER
public static final Types.JDK CLASS_LOADER
-
PACKAGE
public static final Types.JDK PACKAGE
-
MODULE
public static final Types.JDK MODULE
-
ANNOTATION_LABEL
public static final Types.JDK ANNOTATION_LABEL
-
ANNOTATION_CONTENT_TYPE
public static final Types.JDK ANNOTATION_CONTENT_TYPE
-
ANNOTATION_NAME
public static final Types.JDK ANNOTATION_NAME
-
ANNOTATION_DESCRIPTION
public static final Types.JDK ANNOTATION_DESCRIPTION
-
ANNOTATION_TIMESTAMP
public static final Types.JDK ANNOTATION_TIMESTAMP
-
ANNOTATION_TIMESPAN
public static final Types.JDK ANNOTATION_TIMESPAN
-
ANNOTATION_UNSIGNED
public static final Types.JDK ANNOTATION_UNSIGNED
-
ANNOTATION_CATEGORY
public static final Types.JDK ANNOTATION_CATEGORY
-
-
Method Detail
-
values
public static Types.JDK[] 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 (Types.JDK c : Types.JDK.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Types.JDK valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceNamedType
- Returns:
- the type name
-
-