Package org.openjdk.asmtools.jasm
Class Tables
java.lang.Object
org.openjdk.asmtools.jasm.Tables
Tables
The classes in Tables are following a Singleton Pattern. These classes are Enums, and
they are contained in private hash maps (lookup tables and reverse lookup tables).
These hash maps all have public accessors, which clients use to look-up enums.
Tokens in this table carry no external state, and are typically treated as constants.
They do not need to be reset.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
AnnotElemType enumsstatic enum
Attribute descriptor enumsstatic enum
BasicType enumsstatic enum
CF_Context enumsstatic enum
ConstType A (typed) tag (constant) representing the type of Constant in the Constant Pool.static enum
StackMap-FrameType table.static enum
MapTypes table.static enum
SubTag enums -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static HashMap<Character,
Tables.AnnotElemType> private static HashMap<Integer,
Tables.AttrTag> private static HashMap<Integer,
Tables.BasicType> private static HashMap<Integer,
Tables.ConstType> static final int
private static HashMap<String,
Tables.StackMapType> private static HashMap<String,
Tables.AnnotElemType> private static HashMap<String,
Tables.AttrTag> Lookup-tables for various types.private static HashMap<String,
Tables.BasicType> private static HashMap<String,
Tables.ConstType> private static HashMap<String,
Tables.StackMapFrameType> private static HashMap<String,
Tables.StackMapType> private static HashMap<String,
Tables.SubTag> private static HashMap<Integer,
Tables.StackMapFrameType> private static HashMap<Integer,
Tables.StackMapType> private static HashMap<Integer,
Tables.SubTag> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tables.AnnotElemType
annotElemType
(char subtag) static Tables.AnnotElemType
annotElemType
(String idValue) static String
annotElemTypeName
(char subtag) static char
annotElemTypeVal
(String idValue) static Tables.AttrTag
attrtag
(int val) static Tables.AttrTag
static String
attrtagName
(int subtag) static int
attrtagValue
(String idValue) static Tables.BasicType
basictype
(int subtag) static Tables.BasicType
static String
basictypeName
(int subtag) static int
basictypeValue
(String idValue) private static void
private static void
private static void
private static void
private static void
private static void
private static void
static Tables.StackMapFrameType
stackMapFrameType
(int subtag) static String
stackMapFrameTypeName
(int subtag) static Tables.StackMapFrameType
stackMapFrameTypeVal
(int subtag) static int
stackMapFrameTypeValue
(String idValue) static Tables.StackMapType
stackMapType
(int subtag, PrintWriter out) static Tables.StackMapType
stackMapType
(String subtag) static Tables.StackMapType
stackMapTypeKey
(String subtag) static String
stackMapTypeName
(int subtag) static int
stackMapTypeValue
(String idValue) static Tables.SubTag
subtag
(int subtag) static Tables.SubTag
static String
subtagName
(int subtag) static int
subtagValue
(String idValue) static Tables.ConstType
tag
(int i) static Tables.ConstType
-
Field Details
-
JAVA_MAGIC
public static final int JAVA_MAGIC- See Also:
-
NameToAttrTag
Lookup-tables for various types. -
AttrTags
-
NameToSubTag
-
SubTags
-
NameToBasicType
-
BasicTypes
-
NameToAnnotElemType
-
AnnotElemTypes
-
KeyToStackMapType
-
NameToStackMapType
-
StackMapTypes
-
NameToStackMapFrameType
-
StackMapFrameTypes
-
NameToConstantType
-
ConstantTypes
-
-
Constructor Details
-
Tables
public Tables()
-
-
Method Details
-
tag
-
tag
-
registerConstantType
-
registerAttrtag
-
attrtag
-
attrtag
-
attrtagName
-
attrtagValue
-
registerSubtag
-
subtag
-
subtag
-
subtagName
-
subtagValue
-
registerBasicType
-
basictype
-
basictype
-
basictypeName
-
basictypeValue
-
registerAnnotElemType
-
annotElemType
-
annotElemType
-
annotElemTypeName
-
annotElemTypeVal
-
registerStackMapType
-
stackMapType
-
stackMapType
-
stackMapTypeKey
-
stackMapTypeName
-
stackMapTypeValue
-
registerStackMapFrameType
-
stackMapFrameTypeVal
-
stackMapFrameTypeName
-
stackMapFrameType
-
stackMapFrameTypeValue
-