Class Const

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

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

    Fields
    Modifier and Type
    Field
    Description
    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 fields, methods, or classes: 16.
    static final short
    One of the access flags for classes: 512.
    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 int
    Java class file format Magic number: -889275714.
    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 int
    The maximum number of dimensions in an array: 255.
    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.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getConstantName(int index)
    Get the CONSTANT_NAMES entry at the given index.

    Methods inherited from class java.lang.Object

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