Class ParserToolkit
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.util.ParserToolkit
-
public final class ParserToolkit extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CPP_TYPE_ID
static String
INLINED_TYPE_ID
static String
INTERPRETED_TYPE_ID
static String
JIT_COMPILED_TYPE_ID
static String
KERNEL_TYPE_ID
static String
NATIVE_TYPE_ID
static String
UNKNOWN_TYPE_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertValue(long value, long accepted)
static void
assertValue(Object value, Object accepted)
static void
assertValue(Object value, Object... accepted)
static <T> T
get(T[] elements, int index)
static IMCFrame.Type
parseFrameType(String type)
-
-
-
Field Detail
-
INTERPRETED_TYPE_ID
public static final String INTERPRETED_TYPE_ID
- See Also:
- Constant Field Values
-
JIT_COMPILED_TYPE_ID
public static final String JIT_COMPILED_TYPE_ID
- See Also:
- Constant Field Values
-
INLINED_TYPE_ID
public static final String INLINED_TYPE_ID
- See Also:
- Constant Field Values
-
NATIVE_TYPE_ID
public static final String NATIVE_TYPE_ID
- See Also:
- Constant Field Values
-
CPP_TYPE_ID
public static final String CPP_TYPE_ID
- See Also:
- Constant Field Values
-
KERNEL_TYPE_ID
public static final String KERNEL_TYPE_ID
- See Also:
- Constant Field Values
-
UNKNOWN_TYPE_ID
public static final String UNKNOWN_TYPE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static <T> T get(T[] elements, int index) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
assertValue
public static void assertValue(long value, long accepted) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
assertValue
public static void assertValue(Object value, Object accepted) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
assertValue
public static void assertValue(Object value, Object... accepted) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
parseFrameType
public static IMCFrame.Type parseFrameType(String type)
-
-