Class OpcodeTables
java.lang.Object
org.openjdk.asmtools.jasm.OpcodeTables
OpcodeTables
The OpcodeTables class follows a Singleton Pattern. This class contains Enums, that 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 opcodes.
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 enumstatic enumMarker: describes the type of Opcode. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final HashMap<Integer, OpcodeTables.Opcode> static intstatic intstatic intprivate static final intInitialized keyword and token Hash Maps (and Reverse Tables)private static final HashMap<String, OpcodeTables.Opcode> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpcodeTables.Opcodestatic OpcodeTables.Opcodeprivate static void
-
Field Details
-
MAX_TABLESWITCH_LENGTH
public static int MAX_TABLESWITCH_LENGTH -
MAX_LOOKUPSWITCH_LENGTH
public static int MAX_LOOKUPSWITCH_LENGTH -
MAX_LOOKUPSWITCH_PAIRS_COUNT
public static int MAX_LOOKUPSWITCH_PAIRS_COUNT -
MaxOpcodes
private static final int MaxOpcodesInitialized keyword and token Hash Maps (and Reverse Tables)- See Also:
-
IntToAllOpcodes
-
Mnemocodes
-
-
Constructor Details
-
OpcodeTables
public OpcodeTables()
-
-
Method Details
-
registerOpcode
-
opcode
-
opcode
-