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.
Non-JVM constants:
  • 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.