Class Const


  • public final class Const
    extends java.lang.Object
    Constants for the project, mostly defined in the JVM specification.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static short ACC_ABSTRACT
      One of the access flags for fields, methods, or classes.
      static short ACC_ANNOTATION
      One of the access flags for fields, methods, or classes.
      static short ACC_FINAL
      One of the access flags for fields, methods, or classes.
      static short ACC_INTERFACE
      One of the access flags for fields, methods, or classes.
      static byte CONSTANT_Class
      Marks a constant pool entry as a Class
      static byte CONSTANT_Double
      Marks a constant pool entry as type Double.
      static byte CONSTANT_Dynamic
      Marks a constant pool entry as dynamically computed.
      static byte CONSTANT_Fieldref
      Marks a constant pool entry as a Field Reference.
      static byte CONSTANT_Float
      Marks a constant pool entry as type Float.
      static byte CONSTANT_Integer
      Marks a constant pool entry as type Integer.
      static byte CONSTANT_InterfaceMethodref
      Marks a constant pool entry as an Interface Method Reference.
      static byte CONSTANT_InvokeDynamic
      Marks a constant pool entry as an Invoke Dynamic
      static byte CONSTANT_Long
      Marks a constant pool entry as type Long.
      static byte CONSTANT_MethodHandle
      Marks a constant pool entry as a Method Handle.
      static byte CONSTANT_Methodref
      Marks a constant pool entry as a Method Reference.
      static byte CONSTANT_MethodType
      Marks a constant pool entry as a Method Type.
      static byte CONSTANT_Module
      Marks a constant pool entry as a Module Reference.
      static byte CONSTANT_NameAndType
      Marks a constant pool entry as a name and type.
      static byte CONSTANT_Package
      Marks a constant pool entry as a Package Reference.
      static byte CONSTANT_String
      Marks a constant pool entry as type String
      static byte CONSTANT_Utf8
      Marks a constant pool entry as type UTF-8.
    • Constructor Summary

      Constructors 
      Constructor Description
      Const()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getConstantName​(int index)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait