Interface Constants
- All Known Implementing Classes:
AbstractCFG
,AbstractIntStackMachine.BasicStackFlowProvider
,ArrayClass
,ArrayLengthInstruction
,ArrayLoadInstruction
,ArrayStoreInstruction
,AstInducedCFG
,AstTranslator.AstCFG
,BinaryOpInstruction
,CheckCastInstruction
,ComparisonInstruction
,Compiler
,ConditionalBranchInstruction
,ConstantInstruction
,ConversionInstruction
,CTCompiler
,CTDecoder
,Decoder
,DexCFG
,DupInstruction
,GetInstruction
,GotoInstruction
,InducedCFG
,InstanceofInstruction
,Instruction
,InvokeDynamicInstruction
,InvokeInstruction
,JavaLanguage
,JSInducedCFG
,LoadInstruction
,MonitorInstruction
,NewInstruction
,PopInstruction
,PutInstruction
,ReturnInstruction
,ShiftInstruction
,ShrikeCFG
,StoreInstruction
,SwapInstruction
,SwitchInstruction
,ThrowInstruction
,UnaryOpInstruction
public interface Constants
This interface defines a bunch of constants from the JVM spec. It also defines some constants we
need for other purposes.
Here are the JVM constants:
- The OP_ constants define the JVM instruction opcodes.
- The ACC_ constants define the accessibility flags for classes, fields and methods.
- The CONSTANT_ constants define the constant pool item types.
- The T_ constants define the types of arrays that can be created by OP_newarray.
- The TYPE_ constants define the string representations of various JVM types. Two special non-JVM types are defined, TYPE_null and TYPE_unknown, as noted below.
- The OPR_ constants define the set of operators present in JVM instructions.
- The operatorNames array gives the string names of those operators.
- The TYPE_..._index constants define numeric representations of the JVM base types.
- The indexedTypes array maps those numeric representations to their official string representations.
- The indexedTypes_T array maps those numeric representations to the corresponding T_ constant.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final String[]
static final byte[]
static final int
static final int
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final String
static final byte
static final String
static final byte
static final String
static final byte
static final String
static final String
static final byte
static final String
static final String
static final String
static final byte
static final String
static final byte
static final String
static final byte
static final String
static final String
static final String
This represents the type of "null", which can be any object.static final String
static final byte
static final String
static final String
static final byte
static final String
static final String
static final String
This represents a type which is unknown.static final String
static final int
-
Field Details
-
OP_nop
static final short OP_nop- See Also:
-
OP_aconst_null
static final short OP_aconst_null- See Also:
-
OP_iconst_m1
static final short OP_iconst_m1- See Also:
-
OP_iconst_0
static final short OP_iconst_0- See Also:
-
OP_iconst_1
static final short OP_iconst_1- See Also:
-
OP_iconst_2
static final short OP_iconst_2- See Also:
-
OP_iconst_3
static final short OP_iconst_3- See Also:
-
OP_iconst_4
static final short OP_iconst_4- See Also:
-
OP_iconst_5
static final short OP_iconst_5- See Also:
-
OP_lconst_0
static final short OP_lconst_0- See Also:
-
OP_lconst_1
static final short OP_lconst_1- See Also:
-
OP_fconst_0
static final short OP_fconst_0- See Also:
-
OP_fconst_1
static final short OP_fconst_1- See Also:
-
OP_fconst_2
static final short OP_fconst_2- See Also:
-
OP_dconst_0
static final short OP_dconst_0- See Also:
-
OP_dconst_1
static final short OP_dconst_1- See Also:
-
OP_bipush
static final short OP_bipush- See Also:
-
OP_sipush
static final short OP_sipush- See Also:
-
OP_ldc
static final short OP_ldc- See Also:
-
OP_ldc_w
static final short OP_ldc_w- See Also:
-
OP_ldc2_w
static final short OP_ldc2_w- See Also:
-
OP_iload
static final short OP_iload- See Also:
-
OP_lload
static final short OP_lload- See Also:
-
OP_fload
static final short OP_fload- See Also:
-
OP_dload
static final short OP_dload- See Also:
-
OP_aload
static final short OP_aload- See Also:
-
OP_iload_0
static final short OP_iload_0- See Also:
-
OP_iload_1
static final short OP_iload_1- See Also:
-
OP_iload_2
static final short OP_iload_2- See Also:
-
OP_iload_3
static final short OP_iload_3- See Also:
-
OP_lload_0
static final short OP_lload_0- See Also:
-
OP_lload_1
static final short OP_lload_1- See Also:
-
OP_lload_2
static final short OP_lload_2- See Also:
-
OP_lload_3
static final short OP_lload_3- See Also:
-
OP_fload_0
static final short OP_fload_0- See Also:
-
OP_fload_1
static final short OP_fload_1- See Also:
-
OP_fload_2
static final short OP_fload_2- See Also:
-
OP_fload_3
static final short OP_fload_3- See Also:
-
OP_dload_0
static final short OP_dload_0- See Also:
-
OP_dload_1
static final short OP_dload_1- See Also:
-
OP_dload_2
static final short OP_dload_2- See Also:
-
OP_dload_3
static final short OP_dload_3- See Also:
-
OP_aload_0
static final short OP_aload_0- See Also:
-
OP_aload_1
static final short OP_aload_1- See Also:
-
OP_aload_2
static final short OP_aload_2- See Also:
-
OP_aload_3
static final short OP_aload_3- See Also:
-
OP_iaload
static final short OP_iaload- See Also:
-
OP_laload
static final short OP_laload- See Also:
-
OP_faload
static final short OP_faload- See Also:
-
OP_daload
static final short OP_daload- See Also:
-
OP_aaload
static final short OP_aaload- See Also:
-
OP_baload
static final short OP_baload- See Also:
-
OP_caload
static final short OP_caload- See Also:
-
OP_saload
static final short OP_saload- See Also:
-
OP_istore
static final short OP_istore- See Also:
-
OP_lstore
static final short OP_lstore- See Also:
-
OP_fstore
static final short OP_fstore- See Also:
-
OP_dstore
static final short OP_dstore- See Also:
-
OP_astore
static final short OP_astore- See Also:
-
OP_istore_0
static final short OP_istore_0- See Also:
-
OP_istore_1
static final short OP_istore_1- See Also:
-
OP_istore_2
static final short OP_istore_2- See Also:
-
OP_istore_3
static final short OP_istore_3- See Also:
-
OP_lstore_0
static final short OP_lstore_0- See Also:
-
OP_lstore_1
static final short OP_lstore_1- See Also:
-
OP_lstore_2
static final short OP_lstore_2- See Also:
-
OP_lstore_3
static final short OP_lstore_3- See Also:
-
OP_fstore_0
static final short OP_fstore_0- See Also:
-
OP_fstore_1
static final short OP_fstore_1- See Also:
-
OP_fstore_2
static final short OP_fstore_2- See Also:
-
OP_fstore_3
static final short OP_fstore_3- See Also:
-
OP_dstore_0
static final short OP_dstore_0- See Also:
-
OP_dstore_1
static final short OP_dstore_1- See Also:
-
OP_dstore_2
static final short OP_dstore_2- See Also:
-
OP_dstore_3
static final short OP_dstore_3- See Also:
-
OP_astore_0
static final short OP_astore_0- See Also:
-
OP_astore_1
static final short OP_astore_1- See Also:
-
OP_astore_2
static final short OP_astore_2- See Also:
-
OP_astore_3
static final short OP_astore_3- See Also:
-
OP_iastore
static final short OP_iastore- See Also:
-
OP_lastore
static final short OP_lastore- See Also:
-
OP_fastore
static final short OP_fastore- See Also:
-
OP_dastore
static final short OP_dastore- See Also:
-
OP_aastore
static final short OP_aastore- See Also:
-
OP_bastore
static final short OP_bastore- See Also:
-
OP_castore
static final short OP_castore- See Also:
-
OP_sastore
static final short OP_sastore- See Also:
-
OP_pop
static final short OP_pop- See Also:
-
OP_pop2
static final short OP_pop2- See Also:
-
OP_dup
static final short OP_dup- See Also:
-
OP_dup_x1
static final short OP_dup_x1- See Also:
-
OP_dup_x2
static final short OP_dup_x2- See Also:
-
OP_dup2
static final short OP_dup2- See Also:
-
OP_dup2_x1
static final short OP_dup2_x1- See Also:
-
OP_dup2_x2
static final short OP_dup2_x2- See Also:
-
OP_swap
static final short OP_swap- See Also:
-
OP_iadd
static final short OP_iadd- See Also:
-
OP_ladd
static final short OP_ladd- See Also:
-
OP_fadd
static final short OP_fadd- See Also:
-
OP_dadd
static final short OP_dadd- See Also:
-
OP_isub
static final short OP_isub- See Also:
-
OP_lsub
static final short OP_lsub- See Also:
-
OP_fsub
static final short OP_fsub- See Also:
-
OP_dsub
static final short OP_dsub- See Also:
-
OP_imul
static final short OP_imul- See Also:
-
OP_lmul
static final short OP_lmul- See Also:
-
OP_fmul
static final short OP_fmul- See Also:
-
OP_dmul
static final short OP_dmul- See Also:
-
OP_idiv
static final short OP_idiv- See Also:
-
OP_ldiv
static final short OP_ldiv- See Also:
-
OP_fdiv
static final short OP_fdiv- See Also:
-
OP_ddiv
static final short OP_ddiv- See Also:
-
OP_irem
static final short OP_irem- See Also:
-
OP_lrem
static final short OP_lrem- See Also:
-
OP_frem
static final short OP_frem- See Also:
-
OP_drem
static final short OP_drem- See Also:
-
OP_ineg
static final short OP_ineg- See Also:
-
OP_lneg
static final short OP_lneg- See Also:
-
OP_fneg
static final short OP_fneg- See Also:
-
OP_dneg
static final short OP_dneg- See Also:
-
OP_ishl
static final short OP_ishl- See Also:
-
OP_lshl
static final short OP_lshl- See Also:
-
OP_ishr
static final short OP_ishr- See Also:
-
OP_lshr
static final short OP_lshr- See Also:
-
OP_iushr
static final short OP_iushr- See Also:
-
OP_lushr
static final short OP_lushr- See Also:
-
OP_iand
static final short OP_iand- See Also:
-
OP_land
static final short OP_land- See Also:
-
OP_ior
static final short OP_ior- See Also:
-
OP_lor
static final short OP_lor- See Also:
-
OP_ixor
static final short OP_ixor- See Also:
-
OP_lxor
static final short OP_lxor- See Also:
-
OP_iinc
static final short OP_iinc- See Also:
-
OP_i2l
static final short OP_i2l- See Also:
-
OP_i2f
static final short OP_i2f- See Also:
-
OP_i2d
static final short OP_i2d- See Also:
-
OP_l2i
static final short OP_l2i- See Also:
-
OP_l2f
static final short OP_l2f- See Also:
-
OP_l2d
static final short OP_l2d- See Also:
-
OP_f2i
static final short OP_f2i- See Also:
-
OP_f2l
static final short OP_f2l- See Also:
-
OP_f2d
static final short OP_f2d- See Also:
-
OP_d2i
static final short OP_d2i- See Also:
-
OP_d2l
static final short OP_d2l- See Also:
-
OP_d2f
static final short OP_d2f- See Also:
-
OP_i2b
static final short OP_i2b- See Also:
-
OP_i2c
static final short OP_i2c- See Also:
-
OP_i2s
static final short OP_i2s- See Also:
-
OP_lcmp
static final short OP_lcmp- See Also:
-
OP_fcmpl
static final short OP_fcmpl- See Also:
-
OP_fcmpg
static final short OP_fcmpg- See Also:
-
OP_dcmpl
static final short OP_dcmpl- See Also:
-
OP_dcmpg
static final short OP_dcmpg- See Also:
-
OP_ifeq
static final short OP_ifeq- See Also:
-
OP_ifne
static final short OP_ifne- See Also:
-
OP_iflt
static final short OP_iflt- See Also:
-
OP_ifge
static final short OP_ifge- See Also:
-
OP_ifgt
static final short OP_ifgt- See Also:
-
OP_ifle
static final short OP_ifle- See Also:
-
OP_if_icmpeq
static final short OP_if_icmpeq- See Also:
-
OP_if_icmpne
static final short OP_if_icmpne- See Also:
-
OP_if_icmplt
static final short OP_if_icmplt- See Also:
-
OP_if_icmpge
static final short OP_if_icmpge- See Also:
-
OP_if_icmpgt
static final short OP_if_icmpgt- See Also:
-
OP_if_icmple
static final short OP_if_icmple- See Also:
-
OP_if_acmpeq
static final short OP_if_acmpeq- See Also:
-
OP_if_acmpne
static final short OP_if_acmpne- See Also:
-
OP_goto
static final short OP_goto- See Also:
-
OP_jsr
static final short OP_jsr- See Also:
-
OP_ret
static final short OP_ret- See Also:
-
OP_tableswitch
static final short OP_tableswitch- See Also:
-
OP_lookupswitch
static final short OP_lookupswitch- See Also:
-
OP_ireturn
static final short OP_ireturn- See Also:
-
OP_lreturn
static final short OP_lreturn- See Also:
-
OP_freturn
static final short OP_freturn- See Also:
-
OP_dreturn
static final short OP_dreturn- See Also:
-
OP_areturn
static final short OP_areturn- See Also:
-
OP_return
static final short OP_return- See Also:
-
OP_getstatic
static final short OP_getstatic- See Also:
-
OP_putstatic
static final short OP_putstatic- See Also:
-
OP_getfield
static final short OP_getfield- See Also:
-
OP_putfield
static final short OP_putfield- See Also:
-
OP_invokevirtual
static final short OP_invokevirtual- See Also:
-
OP_invokespecial
static final short OP_invokespecial- See Also:
-
OP_invokestatic
static final short OP_invokestatic- See Also:
-
OP_invokeinterface
static final short OP_invokeinterface- See Also:
-
OP_invokedynamic
static final short OP_invokedynamic- See Also:
-
OP_new
static final short OP_new- See Also:
-
OP_newarray
static final short OP_newarray- See Also:
-
OP_anewarray
static final short OP_anewarray- See Also:
-
OP_arraylength
static final short OP_arraylength- See Also:
-
OP_athrow
static final short OP_athrow- See Also:
-
OP_checkcast
static final short OP_checkcast- See Also:
-
OP_instanceof
static final short OP_instanceof- See Also:
-
OP_monitorenter
static final short OP_monitorenter- See Also:
-
OP_monitorexit
static final short OP_monitorexit- See Also:
-
OP_wide
static final short OP_wide- See Also:
-
OP_multianewarray
static final short OP_multianewarray- See Also:
-
OP_ifnull
static final short OP_ifnull- See Also:
-
OP_ifnonnull
static final short OP_ifnonnull- See Also:
-
OP_goto_w
static final short OP_goto_w- See Also:
-
OP_jsr_w
static final short OP_jsr_w- See Also:
-
ACC_PUBLIC
static final char ACC_PUBLIC- See Also:
-
ACC_PRIVATE
static final char ACC_PRIVATE- See Also:
-
ACC_PROTECTED
static final char ACC_PROTECTED- See Also:
-
ACC_STATIC
static final char ACC_STATIC- See Also:
-
ACC_FINAL
static final char ACC_FINAL- See Also:
-
ACC_SYNCHRONIZED
static final char ACC_SYNCHRONIZED- See Also:
-
ACC_SUPER
static final char ACC_SUPER- See Also:
-
ACC_VOLATILE
static final char ACC_VOLATILE- See Also:
-
ACC_TRANSIENT
static final char ACC_TRANSIENT- See Also:
-
ACC_NATIVE
static final char ACC_NATIVE- See Also:
-
ACC_INTERFACE
static final char ACC_INTERFACE- See Also:
-
ACC_ABSTRACT
static final char ACC_ABSTRACT- See Also:
-
ACC_STRICT
static final char ACC_STRICT- See Also:
-
ACC_SYNTHETIC
static final char ACC_SYNTHETIC- See Also:
-
ACC_ANNOTATION
static final char ACC_ANNOTATION- See Also:
-
ACC_ENUM
static final char ACC_ENUM- See Also:
-
ACC_MODULE
static final char ACC_MODULE- See Also:
-
CONSTANT_Utf8
static final byte CONSTANT_Utf8- See Also:
-
CONSTANT_Integer
static final byte CONSTANT_Integer- See Also:
-
CONSTANT_Float
static final byte CONSTANT_Float- See Also:
-
CONSTANT_Long
static final byte CONSTANT_Long- See Also:
-
CONSTANT_Double
static final byte CONSTANT_Double- See Also:
-
CONSTANT_Class
static final byte CONSTANT_Class- See Also:
-
CONSTANT_String
static final byte CONSTANT_String- See Also:
-
CONSTANT_FieldRef
static final byte CONSTANT_FieldRef- See Also:
-
CONSTANT_MethodRef
static final byte CONSTANT_MethodRef- See Also:
-
CONSTANT_InterfaceMethodRef
static final byte CONSTANT_InterfaceMethodRef- See Also:
-
CONSTANT_NameAndType
static final byte CONSTANT_NameAndType- See Also:
-
CONSTANT_MethodHandle
static final byte CONSTANT_MethodHandle- See Also:
-
CONSTANT_MethodType
static final byte CONSTANT_MethodType- See Also:
-
CONSTANT_InvokeDynamic
static final byte CONSTANT_InvokeDynamic- See Also:
-
T_BOOLEAN
static final byte T_BOOLEAN- See Also:
-
T_CHAR
static final byte T_CHAR- See Also:
-
T_FLOAT
static final byte T_FLOAT- See Also:
-
T_DOUBLE
static final byte T_DOUBLE- See Also:
-
T_BYTE
static final byte T_BYTE- See Also:
-
T_SHORT
static final byte T_SHORT- See Also:
-
T_INT
static final byte T_INT- See Also:
-
T_LONG
static final byte T_LONG- See Also:
-
TYPE_boolean
- See Also:
-
TYPE_byte
- See Also:
-
TYPE_int
- See Also:
-
TYPE_short
- See Also:
-
TYPE_long
- See Also:
-
TYPE_float
- See Also:
-
TYPE_double
- See Also:
-
TYPE_char
- See Also:
-
TYPE_void
- See Also:
-
TYPE_String
- See Also:
-
TYPE_MethodHandle
- See Also:
-
TYPE_MethodType
- See Also:
-
TYPE_Object
- See Also:
-
TYPE_Throwable
- See Also:
-
TYPE_Class
- See Also:
-
TYPE_Exception
- See Also:
-
TYPE_RuntimeException
- See Also:
-
TYPE_Error
- See Also:
-
TYPE_null
This represents the type of "null", which can be any object. It is not defined by the JVM spec.- See Also:
-
TYPE_unknown
This represents a type which is unknown. It is not defined by the JVM spec.- See Also:
-
TYPE_int_index
static final byte TYPE_int_index- See Also:
-
TYPE_long_index
static final byte TYPE_long_index- See Also:
-
TYPE_float_index
static final byte TYPE_float_index- See Also:
-
TYPE_double_index
static final byte TYPE_double_index- See Also:
-
TYPE_Object_index
static final byte TYPE_Object_index- See Also:
-
TYPE_byte_index
static final byte TYPE_byte_index- See Also:
-
TYPE_char_index
static final byte TYPE_char_index- See Also:
-
TYPE_short_index
static final byte TYPE_short_index- See Also:
-
TYPE_boolean_index
static final byte TYPE_boolean_index- See Also:
-
indexedTypes
-
indexedTypes_T
static final byte[] indexedTypes_T -
NO
static final int NO- See Also:
-
YES
static final int YES- See Also:
-
MAYBE
static final int MAYBE- See Also:
-