Class StackMap
java.lang.Object
org.openjdk.asmtools.common.structure.StackMap
4.7.4. The StackMapTable Attribute
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStackMap-FrameType table.static enumMapTypes table. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StackMap.EntryTypegetEntryTypeByName(String entryTypeName) Get entry type id by a namestatic intgetFrameTypeTagByName(String frameTypeName) Get frame type id by a namestatic StackMap.VerificationTypegetVerificationType(int verificationTypeID, Optional<FormatConsumer<String, Object>> errorConsumer) static StackMap.VerificationTypegetVerificationType(String printName) static booleanisValidEntryType(int tag) Checks if the tag belongs to range of valid Frame Typesstatic StackMap.EntryTypestackMapEntryType(int tag) Get Entry Type by tag belonging the range
-
Constructor Details
-
StackMap
public StackMap()
-
-
Method Details
-
getVerificationType
public static StackMap.VerificationType getVerificationType(int verificationTypeID, Optional<FormatConsumer<String, Object>> errorConsumer) - Parameters:
verificationTypeID- u1 tagerrorConsumer- consumer to announce a problem- Returns:
- associated StackMap Verification Type
-
getVerificationType
-
stackMapEntryType
Get Entry Type by tag belonging the range- Parameters:
tag- u1 tag in range- Returns:
-
getFrameTypeTagByName
Get frame type id by a name- Parameters:
frameTypeName- frame type name- Returns:
- Stack FrameType tag [0..255]
-
getEntryTypeByName
Get entry type id by a name- Parameters:
entryTypeName- entry type name- Returns:
- Stack FrameType tag [0..255]
-
isValidEntryType
public static boolean isValidEntryType(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
-