Enum Class StackMap.EntryType
- All Implemented Interfaces:
Serializable, Comparable<StackMap.EntryType>, 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 Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfromTag()static StackMap.EntryTypegetByTag(int tag) static StackMap.EntryTypegetByTagName(String tagName) booleanbooleanbooleanbooleaninRange(int tag) static booleanisValid(int tag) Checks if the tag belongs to range of valid Frame TypestagName()static StackMap.EntryTypeReturns the enum constant of this class with the specified name.static StackMap.EntryType[]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
-
EARLY_LARVAL
-
SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED
-
CHOP_1_FRAME
-
CHOP_2_FRAME
-
CHOP_3_FRAME
-
SAME_FRAME_EXTENDED
-
APPEND_FRAME
-
FULL_FRAME
-
-
Field Details
-
tagNameToFrameType
-
tagRange
-
tagName
-
localMap
private final boolean localMap -
stackMap
private final boolean stackMap -
fields
private final boolean fields
-
-
Constructor Details
-
EntryType
private EntryType(int from, int to, String tagName, boolean localMap, boolean stackMap, boolean fields)
-
-
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
-
hasLocalMap
public boolean hasLocalMap() -
hasStackMap
public boolean hasStackMap() -
hasFields
public boolean hasFields() -
getByTagName
-
getByTag
-
fromTag
public int fromTag() -
tagName
-
printName
-
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
-