Class Const

java.lang.Object
org.apache.bcel.Const

public final class Const extends Object
Constants for the project, mostly defined in the JVM specification.
Since:
6.0 (intended to replace the Constants interface)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
    Java VM opcode 50.
    static final short
    Java VM opcode 83.
    static final short
    One of the access flags for methods or classes: 1024.
    static final short
    One of the access flags for classes: 8192.
    static final short
    One of the access flags for methods: 64.
    static final short
    One of the access flags for fields or classes: 16384.
    static final short
    One of the access flags for fields, methods, or classes: 16.
    static final short
    One of the access flags for classes: 512.
    static final short
    One of the access flags for MethodParameter or Module attributes: -32768.
    static final short
    One of the access flags for classes: -32768.
    static final short
    One of the access flags for methods: 256.
    static final short
    One of the access flags for the Module attribute: 32.
    static final short
    One of the access flags for fields, methods, or classes: 2.
    static final short
    One of the access flags for fields, methods, or classes: 4.
    static final short
    One of the access flags for fields, methods, or classes: 1.
    static final short
    One of the access flags for fields, methods, or classes: 8.
    static final short
    One of the access flags for the Module attribute: 64.
    static final short
    One of the access flags for methods: 2048.
    static final short
    One of the access flags for classes: 32.
    static final short
    One of the access flags for methods: 32.
    static final short
    One of the access flags for fields, methods, classes, MethodParameter attribute, or Module attribute: 4096.
    static final short
    One of the access flags for fields: 128.
    static final short
    One of the access flags for the Module attribute: 32.
    static final short
    One of the access flags for methods: 128.
    static final short
    One of the access flags for fields: 64.
    static final int
     
    static final short
    Java VM opcode 1.
    static final short
    Java VM opcode 25.
    static final short
    Java VM opcode 42.
    static final short
    Java VM opcode 43.
    static final short
    Java VM opcode 44.
    static final short
    Java VM opcode 45.
    static final short
    Java VM opcode 189.
    static final short
    JVM internal opcode 222.
    static final int
     
    static final int
     
    static final short
    Java VM opcode 176.
    static final short
    Java VM opcode 190.
    static final short
    Java VM opcode 58.
    static final short
    Java VM opcode 75.
    static final short
    Java VM opcode 76.
    static final short
    Java VM opcode 77.
    static final short
    Java VM opcode 78.
    static final short
    Java VM opcode 191.
    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 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 byte
    Attributes and their corresponding names.
    static final short
    Java VM opcode 51.
    static final short
    Java VM opcode 84.
    static final short
    Java VM opcode 16.
    static final short
    JVM internal opcode 202.
    static final short
    Java VM opcode 52.
    static final short
    Java VM opcode 85.
    static final short
    Java VM opcode 192.
    static final short
    JVM internal opcode 224.
    static final int
     
    static final int
     
    static final byte
    Marks a constant pool entry as a Class: 0x7.
    static final byte
    Marks a constant pool entry as type Double: 0x6.
    static final byte
    Marks a constant pool entry as dynamically computed: 0x11.
    static final byte
    Marks a constant pool entry as a Field Reference: 0x9.
    static final byte
    Marks a constant pool entry as type Float: 0x4.
    static final byte
    Marks a constant pool entry as type Integer: 0x3.
    static final byte
    Marks a constant pool entry as an Interface Method Reference: 0xb.
    static final byte
    Marks a constant pool entry as an Invoke Dynamic: 0x12.
    static final byte
    Marks a constant pool entry as type Long: 0x5.
    static final byte
    Marks a constant pool entry as a Method Handle: 0xf.
    static final byte
    Marks a constant pool entry as a Method Reference: 0xa.
    static final byte
    Marks a constant pool entry as a Method Type: 0x10.
    static final byte
    Marks a constant pool entry as a Module Reference: 0x13.
    static final byte
    Marks a constant pool entry as a name and type: 0xc.
    static final byte
    Marks a constant pool entry as a Package Reference: 0x14.
    static final byte
    Marks a constant pool entry as type String: 0x8.
    static final byte
    Marks a constant pool entry as type UTF-8: 0x1.
    static final String
    The name of every constructor method in a class, also called "instance initialization method".
    static final short
    Java VM opcode 144.
    static final short
    Java VM opcode 142.
    static final short
    Java VM opcode 143.
    static final short
    Java VM opcode 99.
    static final short
    Java VM opcode 49.
    static final short
    Java VM opcode 82.
    static final short
    Java VM opcode 152.
    static final short
    Java VM opcode 151.
    static final short
    Java VM opcode 14.
    static final short
    Java VM opcode 15.
    static final short
    Java VM opcode 111.
    static final short
    Java VM opcode 24.
    static final short
    Java VM opcode 38.
    static final short
    Java VM opcode 39.
    static final short
    Java VM opcode 40.
    static final short
    Java VM opcode 41.
    static final short
    Java VM opcode 107.
    static final short
    Java VM opcode 119.
    static final short
    Java VM opcode 115.
    static final short
    Java VM opcode 175.
    static final short
    Java VM opcode 57.
    static final short
    Java VM opcode 71.
    static final short
    Java VM opcode 72.
    static final short
    Java VM opcode 73.
    static final short
    Java VM opcode 74.
    static final short
    Java VM opcode 103.
    static final short
    Java VM opcode 89.
    static final short
    Java VM opcode 90.
    static final short
    Java VM opcode 91.
    static final short
    Java VM opcode 92.
    static final short
    Java VM opcode 93.
    static final short
    Java VM opcode 94.
    static final short
    Java VM opcode 141.
    static final short
    Java VM opcode 139.
    static final short
    Java VM opcode 140.
    static final short
    Java VM opcode 98.
    static final short
    Java VM opcode 48.
    static final short
    Java VM opcode 81.
    static final short
    Java VM opcode 150.
    static final short
    Java VM opcode 149.
    static final short
    Java VM opcode 11.
    static final short
    Java VM opcode 12.
    static final short
    Java VM opcode 13.
    static final short
    Java VM opcode 110.
    static final short
    Java VM opcode 23.
    static final short
    Java VM opcode 34.
    static final short
    Java VM opcode 35.
    static final short
    Java VM opcode 36.
    static final short
    Java VM opcode 37.
    static final short
    Java VM opcode 106.
    static final short
    Java VM opcode 118.
    static final short
    Java VM opcode 114.
    static final short
    Java VM opcode 174.
    static final short
    Java VM opcode 56.
    static final short
    Java VM opcode 67.
    static final short
    Java VM opcode 68.
    static final short
    Java VM opcode 69.
    static final short
    Java VM opcode 70.
    static final short
    Java VM opcode 102.
    static final int
     
    static final short
    Java VM opcode 180.
    static final short
    JVM internal opcode 206.
    static final short
    JVM internal opcode 227.
    static final short
    JVM internal opcode 208.
    static final short
    Java VM opcode 178.
    static final short
    JVM internal opcode 210.
    static final short
    JVM internal opcode 212.
    static final short
    Java VM opcode 167.
    static final short
    Java VM opcode 200.
    static final short
    Java VM opcode 145.
    static final short
    Java VM opcode 146.
    static final short
    Java VM opcode 135.
    static final short
    Java VM opcode 134.
    static final short
    Java VM opcode 133.
    static final short
    Java VM opcode 147.
    static final short
    Java VM opcode 96.
    static final short
    Java VM opcode 46.
    static final short
    Java VM opcode 126.
    static final short
    Java VM opcode 79.
    static final short
    Java VM opcode 3.
    static final short
    Java VM opcode 4.
    static final short
    Java VM opcode 5.
    static final short
    Java VM opcode 6.
    static final short
    Java VM opcode 7.
    static final short
    Java VM opcode 8.
    static final short
    Java VM opcode 2.
    static final short
    Java VM opcode 108.
    static final short
    Java VM opcode 165.
    static final short
    Java VM opcode 166.
    static final short
    Java VM opcode 159.
    static final short
    Java VM opcode 162.
    static final short
    Java VM opcode 163.
    static final short
    Java VM opcode 164.
    static final short
    Java VM opcode 161.
    static final short
    Java VM opcode 160.
    static final short
    Java VM opcode 153.
    static final short
    Java VM opcode 156.
    static final short
    Java VM opcode 157.
    static final short
    Java VM opcode 158.
    static final short
    Java VM opcode 155.
    static final short
    Java VM opcode 154.
    static final short
    Java VM opcode 199.
    static final short
    Java VM opcode 198.
    static final short
    Java VM opcode 132.
    static final String
    Mnemonic for an illegal opcode: "<illegal opcode>".
    static final String
    Mnemonic for an illegal type: "<illegal type>".
    static final short
    Java VM opcode 21.
    static final short
    Java VM opcode 26.
    static final short
    Java VM opcode 27.
    static final short
    Java VM opcode 28.
    static final short
    Java VM opcode 29.
    static final short
    JVM internal opcode 254.
    static final short
    JVM internal opcode 255.
    static final short
    Java VM opcode 104.
    static final short
    Java VM opcode 116.
    static final short
    Java VM opcode 193.
    static final short
    JVM internal opcode 225.
    static final short
    Java VM opcode 145.
    static final short
    Java VM opcode 146.
    static final short
    Java VM opcode 147.
    static final short
    Java VM opcode 186.
    static final short
    Java VM opcode 185.
    static final short
    JVM internal opcode 218.
    static final short
    Java VM opcode 183.
    static final short
    JVM internal opcode 215.
    static final short
    Java VM opcode 183.
    static final short
    Java VM opcode 184.
    static final short
    JVM internal opcode 217.
    static final short
    JVM internal opcode 216.
    static final short
    Java VM opcode 182.
    static final short
    JVM internal opcode 214.
    static final short
    JVM internal opcode 226.
    static final short
    JVM internal opcode 219.
    static final short
    Java VM opcode 128.
    static final short
    Java VM opcode 112.
    static final short
    Java VM opcode 172.
    static final short
    Java VM opcode 120.
    static final short
    Java VM opcode 122.
    static final short
    Java VM opcode 54.
    static final short
    Java VM opcode 59.
    static final short
    Java VM opcode 60.
    static final short
    Java VM opcode 61.
    static final short
    Java VM opcode 62.
    static final short
    Java VM opcode 100.
    static final byte
    Constants used in the StackMap attribute.
    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 short
    Java VM opcode 124.
    static final short
    Java VM opcode 130.
    static final short
    Java VM opcode 168.
    static final short
    Java VM opcode 201.
    static final int
    Java class file format Magic number: -889275714.
    static final short
     
    static final short
    Java VM opcode 138.
    static final short
    Java VM opcode 137.
    static final short
    Java VM opcode 136.
    static final short
    Java VM opcode 97.
    static final short
    Java VM opcode 47.
    static final short
    Java VM opcode 127.
    static final short
    Java VM opcode 80.
    static final short
    Java VM opcode 148.
    static final short
    Java VM opcode 9.
    static final short
    Java VM opcode 10.
    static final short
    Java VM opcode 18.
    static final short
    JVM internal opcode 203.
    static final short
    Java VM opcode 19.
    static final short
    JVM internal opcode 204.
    static final short
    Java VM opcode 20.
    static final short
    JVM internal opcode 205.
    static final short
    Java VM opcode 109.
    static final short
    Java VM opcode 22.
    static final short
    Java VM opcode 30.
    static final short
    Java VM opcode 31.
    static final short
    Java VM opcode 32.
    static final short
    Java VM opcode 33.
    static final short
    Java VM opcode 105.
    static final short
    Java VM opcode 117.
    static final short
    Java VM opcode 171.
    static final short
    Java VM opcode 129.
    static final short
    Java VM opcode 113.
    static final short
    Java VM opcode 173.
    static final short
    Java VM opcode 121.
    static final short
    Java VM opcode 123.
    static final short
    Java VM opcode 55.
    static final short
    Java VM opcode 63.
    static final short
    Java VM opcode 64.
    static final short
    Java VM opcode 65.
    static final short
    Java VM opcode 66.
    static final short
    Java VM opcode 101.
    static final short
    Java VM opcode 125.
    static final short
    Java VM opcode 131.
    static final short
    Default major version number.
    static final short
    Major version number of class files for Java 1.1: 45.
    static final short
    Major version number of class files for Java 1.2: 46.
    static final short
    Major version number of class files for Java 1.2: 47.
    static final short
    Major version number of class files for Java 1.3: 48.
    static final short
    Major version number of class files for Java 1.4: 49.
    static final short
    Major version number of class files for Java 1.6: 50.
    static final short
    Major version number of class files for Java 1.7: 51.
    static final short
    Major version number of class files for Java 1.8: 52.
    static final short
    Deprecated.
    Use MAJOR_9 (53) instead.
    static final short
    Major version number of class files for Java 10: 54.
    static final short
    Major version number of class files for Java 11: 55.
    static final short
    Major version number of class files for Java 12: 56.
    static final short
    Major version number of class files for Java 13: 57.
    static final short
    Major version number of class files for Java 14: 58.
    static final short
    Major version number of class files for Java 15: 59.
    static final short
    Major version number of class files for Java 16: 60.
    static final short
    Major version number of class files for Java 17: 61.
    static final short
    Major version number of class files for Java 18: 62.
    static final short
    Major version number of class files for Java 19: 63.
    static final short
    Major version number of class files for Java 20: 64.
    static final short
    Major version number of class files for Java 21: 65.
    static final short
    Major version number of class files for Java 22: 66.
    static final short
    Major version number of class files for Java 23: 67.
    static final short
    Major version number of class files for Java 24: 68.
    static final short
    Major version number of class files for Java 9: 53.
    static final short
    Deprecated.
    static final int
    One of the access flags for fields, methods, or classes.
    static final int
    The maximum number of dimensions in an array: 255.
    static final int
    Maximum value for an unsigned byte: 255.
    static final int
    Maximum code size (plus one; the code size must be LESS than this): 65536.
    static final int
    Maximum Constant Pool entries: 65535.
    static final int
    Maximum value for an unsigned short: 65535.
    static final short
    Default major version number.
    static final short
    Minor version number of class files for Java 1.1: 3.
    static final short
    Minor version number of class files for Java 1.2: 0.
    static final short
    Minor version number of class files for Java 1.3: 0.
    static final short
    Minor version number of class files for Java 1.4: 0.
    static final short
    Minor version number of class files for Java 1.5: 0.
    static final short
    Minor version number of class files for Java 1.6: 0.
    static final short
    Minor version number of class files for Java 1.7: 0.
    static final short
    Minor version number of class files for Java 1.8: 0.
    static final short
    Deprecated.
    Use MINOR_9 (0) instead.
    static final short
    Minor version number of class files for Java 10: 0.
    static final short
    Minor version number of class files for Java 11: 0.
    static final short
    Minor version number of class files for Java 12: 0.
    static final short
    Minor version number of class files for Java 13: 0.
    static final short
    Minor version number of class files for Java 14: 0.
    static final short
    Minor version number of class files for Java 15: 0.
    static final short
    Minor version number of class files for Java 16: 0.
    static final short
    Minor version number of class files for Java 17: 0.
    static final short
    Minor version number of class files for Java 18: 0.
    static final short
    Minor version number of class files for Java 19: 0.
    static final short
    Minor version number of class files for Java 20: 0.
    static final short
    Minor version number of class files for Java 21: 0.
    static final short
    Minor version number of class files for Java 22: 0.
    static final short
    Minor version number of class files for Java 23: 0.
    static final short
    Minor version number of class files for Java 24: 0.
    static final short
    Minor version number of class files for Java 9: 0.
    static final short
    Java VM opcode 194.
    static final short
    Java VM opcode 195.
    static final short
    Java VM opcode 197.
    static final short
    JVM internal opcode 223.
    static final short
    Java VM opcode 187.
    static final short
    JVM internal opcode 221.
    static final short
    Java VM opcode 188.
    static final short
    Java VM opcode 0.
    static final int
     
    static final short
    Java VM opcode 87.
    static final short
    Java VM opcode 88.
    static final short
    BCEL virtual instruction for pushing an arbitrary data type onto the stack: 4711.
    static final short
    Java VM opcode 181.
    static final short
    JVM internal opcode 207.
    static final short
    JVM internal opcode 228.
    static final short
    JVM internal opcode 209.
    static final short
    Java VM opcode 179.
    static final short
    JVM internal opcode 211.
    static final short
    JVM internal opcode 213.
    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 short
    Illegal opcode: -3.
    static final short
    Java VM opcode 169.
    static final short
    Java VM opcode 177.
    static final short
    Java VM opcode 53.
    static final int
    Constants used to identify StackMapEntry types.
    static final int
     
    static final int
    Constants that define the maximum value of those constants which store ranges.
    static final int
     
    static final int
     
    static final int
     
    static final short
    Java VM opcode 86.
    static final String[]
    The signature characters corresponding to primitive types, e.g., SHORT_TYPE_NAMES[T_INT] = "I"
    static final short
    Java VM opcode 17.
    static final String
    The name of the static initializer, also called "class initialization method" or "interface initialization method".
    static final short
    Java VM opcode 95.
    static final short
    BCEL virtual instruction for either LOOKUPSWITCH or TABLESWITCH: 4712.
    static final byte
    Address data type.
    static final byte
    Array data type.
    static final byte
    Boolean data type: 0x4.
    static final byte
    Byte data type: 0x8.
    static final byte
    Char data type: 0x5.
    static final byte
    Double data type: 0x7.
    static final byte
    Float data type: 0x6.
    static final byte
    Int data type: 0xa.
    static final byte
    Long data type: 0xb.
    static final byte
    Object data type.
    static final byte
    Reference data type (deprecated).
    static final byte
    Short data type: 0x9.
    static final byte
    Unknown data type.
    static final byte
    Void data type (non-standard).
    static final short
    Java VM opcode 170.
    static final short
    Illegal opcode: -1.
    static final short
    Illegal opcode: -2.
    static final short
    Java VM opcode 196.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getAccessName(int index)
     
    static String
    getAttributeName(int index)
     
    static String
    getClassTypeName(int index)
    The primitive class names corresponding to the T_XX constants, e.g., CLASS_TYPE_NAMES[T_INT] = "java.lang.Integer"
    static String
    getConstantName(int index)
     
    static int
    getConsumeStack(int index)
     
     
    static String
    getItemName(int index)
     
    static String
     
    static short
    getNoOfOperands(int index)
     
    static String
    getOpcodeName(int index)
     
    static short
    getOperandType(int opcode, int index)
     
    static long
    getOperandTypeCount(int opcode)
     
    static int
    getProduceStack(int index)
     
    static String
    getShortTypeName(int index)
     
    static String
    getTypeName(int index)
    The primitive type names corresponding to the T_XX constants, e.g., TYPE_NAMES[T_INT] = "int"

    Methods inherited from class java.lang.Object

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