Package org.openjdk.asmtools.jasm
Class Tables
- java.lang.Object
-
- org.openjdk.asmtools.jasm.Tables
-
public class Tables extends java.lang.Object
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 Classes Modifier and Type Class Description static class
Tables.AnnotElemType
AnnotElemType enumsstatic class
Tables.AttrTag
Attribute descriptor enumsstatic class
Tables.BasicType
BasicType enumsstatic class
Tables.CF_Context
CF_Context enumsstatic class
Tables.ConstType
ConstType A (typed) tag (constant) representing the type of Constant in the Constant Pool.static class
Tables.StackMapFrameType
StackMap-FrameType table.static class
Tables.StackMapType
MapTypes table.static class
Tables.SubTag
SubTag enums
-
Field Summary
Fields Modifier and Type Field Description static int
JAVA_MAGIC
-
Constructor Summary
Constructors Constructor Description Tables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Tables.AnnotElemType
annotElemType(char subtag)
static Tables.AnnotElemType
annotElemType(java.lang.String idValue)
static java.lang.String
annotElemTypeName(char subtag)
static char
annotElemTypeVal(java.lang.String idValue)
static Tables.AttrTag
attrtag(int val)
static Tables.AttrTag
attrtag(java.lang.String idValue)
static java.lang.String
attrtagName(int subtag)
static int
attrtagValue(java.lang.String idValue)
static Tables.BasicType
basictype(int subtag)
static Tables.BasicType
basictype(java.lang.String idValue)
static java.lang.String
basictypeName(int subtag)
static int
basictypeValue(java.lang.String idValue)
static Tables.StackMapFrameType
stackMapFrameType(int subtag)
static java.lang.String
stackMapFrameTypeName(int subtag)
static Tables.StackMapFrameType
stackMapFrameTypeVal(int subtag)
static int
stackMapFrameTypeValue(java.lang.String idValue)
static Tables.StackMapType
stackMapType(int subtag, java.io.PrintWriter out)
static Tables.StackMapType
stackMapType(java.lang.String subtag)
static Tables.StackMapType
stackMapTypeKey(java.lang.String subtag)
static java.lang.String
stackMapTypeName(int subtag)
static int
stackMapTypeValue(java.lang.String idValue)
static Tables.SubTag
subtag(int subtag)
static Tables.SubTag
subtag(java.lang.String subtag)
static java.lang.String
subtagName(int subtag)
static int
subtagValue(java.lang.String idValue)
static Tables.ConstType
tag(int i)
static Tables.ConstType
tag(java.lang.String parsekey)
-
-
-
Field Detail
-
JAVA_MAGIC
public static final int JAVA_MAGIC
- See Also:
- Constant Field Values
-
-
Method Detail
-
tag
public static Tables.ConstType tag(int i)
-
tag
public static Tables.ConstType tag(java.lang.String parsekey)
-
attrtag
public static Tables.AttrTag attrtag(int val)
-
attrtag
public static Tables.AttrTag attrtag(java.lang.String idValue)
-
attrtagName
public static java.lang.String attrtagName(int subtag)
-
attrtagValue
public static int attrtagValue(java.lang.String idValue)
-
subtag
public static Tables.SubTag subtag(java.lang.String subtag)
-
subtag
public static Tables.SubTag subtag(int subtag)
-
subtagName
public static java.lang.String subtagName(int subtag)
-
subtagValue
public static int subtagValue(java.lang.String idValue)
-
basictype
public static Tables.BasicType basictype(java.lang.String idValue)
-
basictype
public static Tables.BasicType basictype(int subtag)
-
basictypeName
public static java.lang.String basictypeName(int subtag)
-
basictypeValue
public static int basictypeValue(java.lang.String idValue)
-
annotElemType
public static Tables.AnnotElemType annotElemType(java.lang.String idValue)
-
annotElemType
public static Tables.AnnotElemType annotElemType(char subtag)
-
annotElemTypeName
public static java.lang.String annotElemTypeName(char subtag)
-
annotElemTypeVal
public static char annotElemTypeVal(java.lang.String idValue)
-
stackMapType
public static Tables.StackMapType stackMapType(int subtag, java.io.PrintWriter out)
-
stackMapType
public static Tables.StackMapType stackMapType(java.lang.String subtag)
-
stackMapTypeKey
public static Tables.StackMapType stackMapTypeKey(java.lang.String subtag)
-
stackMapTypeName
public static java.lang.String stackMapTypeName(int subtag)
-
stackMapTypeValue
public static int stackMapTypeValue(java.lang.String idValue)
-
stackMapFrameTypeVal
public static Tables.StackMapFrameType stackMapFrameTypeVal(int subtag)
-
stackMapFrameTypeName
public static java.lang.String stackMapFrameTypeName(int subtag)
-
stackMapFrameType
public static Tables.StackMapFrameType stackMapFrameType(int subtag)
-
stackMapFrameTypeValue
public static int stackMapFrameTypeValue(java.lang.String idValue)
-
-