Enum Class StackMap.FrameType
- All Implemented Interfaces:
Serializable
,Comparable<StackMap.FrameType>
,Constable
- Enclosing class:
- StackMap
StackMap-FrameType table. These constants are used in stackmap pseudo-instructions
only.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private static HashMap<String,
StackMap.FrameType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
fromTag()
static StackMap.FrameType
getByTag
(int tag) static StackMap.FrameType
getByTagName
(String tagName) boolean
inRange
(int tag) static boolean
isValid
(int tag) Checks if the tag belongs to range of valid Frame TypestagName()
tagRange()
static StackMap.FrameType
Returns the enum constant of this class with the specified name.static StackMap.FrameType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_TYPE
-
SAME_FRAME
-
SAME_LOCALS_1_STACK_ITEM_FRAME
-
RESERVED
-
SAME_LOCALS_1_STACK_ITEM_EXTENDED_FRAME
-
CHOP_1_FRAME
-
CHOP_2_FRAME
-
CHOP_3_FRAME
-
SAME_FRAME_EX
-
APPEND_FRAME
-
FULL_FRAME
-
-
Field Details
-
tagNameToFrameType
-
tagRange
-
tagName
-
-
Constructor Details
-
FrameType
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getByTagName
-
getByTag
-
fromTag
public int fromTag() -
tagName
-
printName
-
tagRange
-
inRange
public boolean inRange(int tag) -
isValid
public static boolean isValid(int tag) Checks if the tag belongs to range of valid Frame Types- Parameters:
tag
-- Returns:
- true if the tag does not belong to a range either of UNKNOWN_TYPE or RESERVED
-