Apache Tomcat 7.0.28

org.apache.tomcat.util.bcel
Interface Constants

All Known Implementing Classes:
AnnotationEntry, CodeException, LocalVariable, ParameterAnnotationEntry

public interface Constants

Constants for the project, mostly defined in the JVM specification.

Version:
$Id: Constants.java 1237336 2012-01-29 16:43:45Z markt $
Author:
M. Dahm

Field Summary
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_ENUM
          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 short ACC_SUPER
          One of the access flags for fields, methods, or classes.
static String[] ACCESS_NAMES
          The names of the access flags.
static short ALOAD
          Java VM opcode.
static short ANEWARRAY
          Java VM opcode.
static int APPEND_FRAME
           
static int APPEND_FRAME_MAX
           
static short ASTORE
          Java VM opcode.
static byte ATTR_ANNOTATION_DEFAULT
           
static byte ATTR_CODE
           
static byte ATTR_CONSTANT_VALUE
           
static byte ATTR_DEPRECATED
           
static byte ATTR_ENCLOSING_METHOD
           
static byte ATTR_EXCEPTIONS
           
static byte ATTR_INNER_CLASSES
           
static byte ATTR_LINE_NUMBER_TABLE
           
static byte ATTR_LOCAL_VARIABLE_TABLE
           
static byte ATTR_LOCAL_VARIABLE_TYPE_TABLE
           
static byte ATTR_PMG
           
static byte ATTR_RUNTIME_VISIBLE_ANNOTATIONS
           
static byte ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
           
static byte ATTR_RUNTIMEIN_VISIBLE_ANNOTATIONS
           
static byte ATTR_RUNTIMEIN_VISIBLE_PARAMETER_ANNOTATIONS
           
static byte ATTR_SIGNATURE
           
static byte ATTR_SOURCE_FILE
           
static byte ATTR_STACK_MAP
           
static byte ATTR_STACK_MAP_TABLE
           
static byte ATTR_SYNTHETIC
           
static byte ATTR_UNKNOWN
          Attributes and their corresponding names.
static String[] ATTRIBUTE_NAMES
           
static short CHECKCAST
          Java VM opcode.
static int CHOP_FRAME
           
static int CHOP_FRAME_MAX
           
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_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_Long
          Marks a constant pool entry as type Long.
static byte CONSTANT_Methodref
          Marks a constant pool entry as a Method Reference.
static byte CONSTANT_NameAndType
          Marks a constant pool entry as a name and type.
static String[] CONSTANT_NAMES
          The names of the types of entries in a constant pool.
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.
static short DLOAD
          Java VM opcode.
static short DSTORE
          Java VM opcode.
static short FLOAD
          Java VM opcode.
static short FSTORE
          Java VM opcode.
static int FULL_FRAME
           
static short GETFIELD
          Java VM opcode.
static short GETSTATIC
          Java VM opcode.
static short GOTO
          Java VM opcode.
static short GOTO_W
          Java VM opcode.
static short IF_ACMPEQ
          Java VM opcode.
static short IF_ACMPNE
          Java VM opcode.
static short IF_ICMPEQ
          Java VM opcode.
static short IF_ICMPGE
          Java VM opcode.
static short IF_ICMPGT
          Java VM opcode.
static short IF_ICMPLE
          Java VM opcode.
static short IF_ICMPLT
          Java VM opcode.
static short IF_ICMPNE
          Java VM opcode.
static short IFEQ
          Java VM opcode.
static short IFGE
          Java VM opcode.
static short IFGT
          Java VM opcode.
static short IFLE
          Java VM opcode.
static short IFLT
          Java VM opcode.
static short IFNE
          Java VM opcode.
static short IFNONNULL
          Java VM opcode.
static short IFNULL
          Java VM opcode.
static short IINC
          Java VM opcode.
static String ILLEGAL_OPCODE
          Mnemonic for an illegal opcode.
static String ILLEGAL_TYPE
          Mnemonic for an illegal type.
static short ILOAD
          Java VM opcode.
static short INSTANCEOF
          Java VM opcode.
static short INVOKEINTERFACE
          Java VM opcode.
static short INVOKESPECIAL
          Java VM opcode.
static short INVOKESTATIC
          Java VM opcode.
static short INVOKEVIRTUAL
          Java VM opcode.
static short ISTORE
          Java VM opcode.
static byte ITEM_Bogus
          Constants used in the StackMap attribute.
static String[] ITEM_NAMES
           
static byte ITEM_NewObject
           
static byte ITEM_Object
           
static short JSR
          Java VM opcode.
static short JSR_W
          Java VM opcode.
static short KNOWN_ATTRIBUTES
           
static short LDC
          Java VM opcode.
static short LDC_W
          Java VM opcode.
static short LDC2_W
          Java VM opcode.
static short LLOAD
          Java VM opcode.
static short LOOKUPSWITCH
          Java VM opcode.
static short LSTORE
          Java VM opcode.
static short MAX_ACC_FLAG
          One of the access flags for fields, methods, or classes.
static short MULTIANEWARRAY
          Java VM opcode.
static short NEW
          Java VM opcode.
static short NEWARRAY
          Java VM opcode.
static short[] NO_OF_OPERANDS
          Number of byte code operands for each opcode, i.e., number of bytes after the tag byte itself.
static String[] OPCODE_NAMES
          Names of opcodes.
static short PUTFIELD
          Java VM opcode.
static short PUTSTATIC
          Java VM opcode.
static short RESERVED
          Illegal opcode.
static short RET
          Java VM opcode.
static int SAME_FRAME
          Constants used to identify StackMapEntry types.
static int SAME_FRAME_EXTENDED
           
static int SAME_FRAME_MAX
          Constants that define the maximum value of those constants which store ranges.
static int SAME_LOCALS_1_STACK_ITEM_FRAME
           
static int SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED
           
static int SAME_LOCALS_1_STACK_ITEM_FRAME_MAX
           
static byte T_BYTE
          Byte data type.
static byte T_INT
          Int data type.
static byte T_SHORT
          Short data type.
static byte T_UNKNOWN
          Unknown data type.
static short TABLESWITCH
          Java VM opcode.
static String[] TYPE_NAMES
          The primitive type names corresponding to the T_XX constants, e.g., TYPE_NAMES[T_INT] = "int"
static short[][] TYPE_OF_OPERANDS
          How the byte code operands are to be interpreted for each opcode.
static short UNDEFINED
          Illegal opcode.
static short UNPREDICTABLE
          Illegal opcode.
static short WIDE
          Java VM opcode.
 

Field Detail

ACC_FINAL

static final short ACC_FINAL
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

ACC_INTERFACE

static final short ACC_INTERFACE
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

ACC_ABSTRACT

static final short ACC_ABSTRACT
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

ACC_ANNOTATION

static final short ACC_ANNOTATION
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

ACC_ENUM

static final short ACC_ENUM
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

ACC_SUPER

static final short ACC_SUPER
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

MAX_ACC_FLAG

static final short MAX_ACC_FLAG
One of the access flags for fields, methods, or classes.

See Also:
Constant Field Values

ACCESS_NAMES

static final String[] ACCESS_NAMES
The names of the access flags.


CONSTANT_Utf8

static final byte CONSTANT_Utf8
Marks a constant pool entry as type UTF-8.

See Also:
Constant Field Values

CONSTANT_Integer

static final byte CONSTANT_Integer
Marks a constant pool entry as type Integer.

See Also:
Constant Field Values

CONSTANT_Float

static final byte CONSTANT_Float
Marks a constant pool entry as type Float.

See Also:
Constant Field Values

CONSTANT_Long

static final byte CONSTANT_Long
Marks a constant pool entry as type Long.

See Also:
Constant Field Values

CONSTANT_Double

static final byte CONSTANT_Double
Marks a constant pool entry as type Double.

See Also:
Constant Field Values

CONSTANT_Class

static final byte CONSTANT_Class
Marks a constant pool entry as a Class.

See Also:
Constant Field Values

CONSTANT_Fieldref

static final byte CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference.

See Also:
Constant Field Values

CONSTANT_String

static final byte CONSTANT_String
Marks a constant pool entry as type String.

See Also:
Constant Field Values

CONSTANT_Methodref

static final byte CONSTANT_Methodref
Marks a constant pool entry as a Method Reference.

See Also:
Constant Field Values

CONSTANT_InterfaceMethodref

static final byte CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference.

See Also:
Constant Field Values

CONSTANT_NameAndType

static final byte CONSTANT_NameAndType
Marks a constant pool entry as a name and type.

See Also:
Constant Field Values

CONSTANT_NAMES

static final String[] CONSTANT_NAMES
The names of the types of entries in a constant pool.


LDC

static final short LDC
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

LDC_W

static final short LDC_W
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

LDC2_W

static final short LDC2_W
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

ILOAD

static final short ILOAD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

LLOAD

static final short LLOAD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

FLOAD

static final short FLOAD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

DLOAD

static final short DLOAD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

ALOAD

static final short ALOAD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

ISTORE

static final short ISTORE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

LSTORE

static final short LSTORE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

FSTORE

static final short FSTORE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

DSTORE

static final short DSTORE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

ASTORE

static final short ASTORE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IINC

static final short IINC
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFEQ

static final short IFEQ
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFNE

static final short IFNE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFLT

static final short IFLT
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFGE

static final short IFGE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFGT

static final short IFGT
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFLE

static final short IFLE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ICMPEQ

static final short IF_ICMPEQ
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ICMPNE

static final short IF_ICMPNE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ICMPLT

static final short IF_ICMPLT
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ICMPGE

static final short IF_ICMPGE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ICMPGT

static final short IF_ICMPGT
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ICMPLE

static final short IF_ICMPLE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ACMPEQ

static final short IF_ACMPEQ
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IF_ACMPNE

static final short IF_ACMPNE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

GOTO

static final short GOTO
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

JSR

static final short JSR
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

RET

static final short RET
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

TABLESWITCH

static final short TABLESWITCH
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

LOOKUPSWITCH

static final short LOOKUPSWITCH
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

GETSTATIC

static final short GETSTATIC
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

PUTSTATIC

static final short PUTSTATIC
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

GETFIELD

static final short GETFIELD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

PUTFIELD

static final short PUTFIELD
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

INVOKEVIRTUAL

static final short INVOKEVIRTUAL
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

INVOKESPECIAL

static final short INVOKESPECIAL
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

INVOKESTATIC

static final short INVOKESTATIC
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

INVOKEINTERFACE

static final short INVOKEINTERFACE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

NEW

static final short NEW
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

NEWARRAY

static final short NEWARRAY
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

ANEWARRAY

static final short ANEWARRAY
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

CHECKCAST

static final short CHECKCAST
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

INSTANCEOF

static final short INSTANCEOF
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

WIDE

static final short WIDE
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

MULTIANEWARRAY

static final short MULTIANEWARRAY
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFNULL

static final short IFNULL
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

IFNONNULL

static final short IFNONNULL
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

GOTO_W

static final short GOTO_W
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

JSR_W

static final short JSR_W
Java VM opcode.

See Also:
Opcode definitions in The Java Virtual Machine Specification, Constant Field Values

UNDEFINED

static final short UNDEFINED
Illegal opcode.

See Also:
Constant Field Values

UNPREDICTABLE

static final short UNPREDICTABLE
Illegal opcode.

See Also:
Constant Field Values

RESERVED

static final short RESERVED
Illegal opcode.

See Also:
Constant Field Values

ILLEGAL_OPCODE

static final String ILLEGAL_OPCODE
Mnemonic for an illegal opcode.

See Also:
Constant Field Values

ILLEGAL_TYPE

static final String ILLEGAL_TYPE
Mnemonic for an illegal type.

See Also:
Constant Field Values

T_BYTE

static final byte T_BYTE
Byte data type.

See Also:
Constant Field Values

T_SHORT

static final byte T_SHORT
Short data type.

See Also:
Constant Field Values

T_INT

static final byte T_INT
Int data type.

See Also:
Constant Field Values

T_UNKNOWN

static final byte T_UNKNOWN
Unknown data type.

See Also:
Constant Field Values

TYPE_NAMES

static final String[] TYPE_NAMES
The primitive type names corresponding to the T_XX constants, e.g., TYPE_NAMES[T_INT] = "int"


NO_OF_OPERANDS

static final short[] NO_OF_OPERANDS
Number of byte code operands for each opcode, i.e., number of bytes after the tag byte itself. Indexed by opcode, so NO_OF_OPERANDS[BIPUSH] = the number of operands for a bipush instruction.


TYPE_OF_OPERANDS

static final short[][] TYPE_OF_OPERANDS
How the byte code operands are to be interpreted for each opcode. Indexed by opcode. TYPE_OF_OPERANDS[ILOAD] = an array of shorts describing the data types for the instruction.


OPCODE_NAMES

static final String[] OPCODE_NAMES
Names of opcodes. Indexed by opcode. OPCODE_NAMES[ALOAD] = "aload".


ATTR_UNKNOWN

static final byte ATTR_UNKNOWN
Attributes and their corresponding names.

See Also:
Constant Field Values

ATTR_SOURCE_FILE

static final byte ATTR_SOURCE_FILE
See Also:
Constant Field Values

ATTR_CONSTANT_VALUE

static final byte ATTR_CONSTANT_VALUE
See Also:
Constant Field Values

ATTR_CODE

static final byte ATTR_CODE
See Also:
Constant Field Values

ATTR_EXCEPTIONS

static final byte ATTR_EXCEPTIONS
See Also:
Constant Field Values

ATTR_LINE_NUMBER_TABLE

static final byte ATTR_LINE_NUMBER_TABLE
See Also:
Constant Field Values

ATTR_LOCAL_VARIABLE_TABLE

static final byte ATTR_LOCAL_VARIABLE_TABLE
See Also:
Constant Field Values

ATTR_INNER_CLASSES

static final byte ATTR_INNER_CLASSES
See Also:
Constant Field Values

ATTR_SYNTHETIC

static final byte ATTR_SYNTHETIC
See Also:
Constant Field Values

ATTR_DEPRECATED

static final byte ATTR_DEPRECATED
See Also:
Constant Field Values

ATTR_PMG

static final byte ATTR_PMG
See Also:
Constant Field Values

ATTR_SIGNATURE

static final byte ATTR_SIGNATURE
See Also:
Constant Field Values

ATTR_STACK_MAP

static final byte ATTR_STACK_MAP
See Also:
Constant Field Values

ATTR_RUNTIME_VISIBLE_ANNOTATIONS

static final byte ATTR_RUNTIME_VISIBLE_ANNOTATIONS
See Also:
Constant Field Values

ATTR_RUNTIMEIN_VISIBLE_ANNOTATIONS

static final byte ATTR_RUNTIMEIN_VISIBLE_ANNOTATIONS
See Also:
Constant Field Values

ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS

static final byte ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
See Also:
Constant Field Values

ATTR_RUNTIMEIN_VISIBLE_PARAMETER_ANNOTATIONS

static final byte ATTR_RUNTIMEIN_VISIBLE_PARAMETER_ANNOTATIONS
See Also:
Constant Field Values

ATTR_ANNOTATION_DEFAULT

static final byte ATTR_ANNOTATION_DEFAULT
See Also:
Constant Field Values

ATTR_LOCAL_VARIABLE_TYPE_TABLE

static final byte ATTR_LOCAL_VARIABLE_TYPE_TABLE
See Also:
Constant Field Values

ATTR_ENCLOSING_METHOD

static final byte ATTR_ENCLOSING_METHOD
See Also:
Constant Field Values

ATTR_STACK_MAP_TABLE

static final byte ATTR_STACK_MAP_TABLE
See Also:
Constant Field Values

KNOWN_ATTRIBUTES

static final short KNOWN_ATTRIBUTES
See Also:
Constant Field Values

ATTRIBUTE_NAMES

static final String[] ATTRIBUTE_NAMES

ITEM_Bogus

static final byte ITEM_Bogus
Constants used in the StackMap attribute.

See Also:
Constant Field Values

ITEM_Object

static final byte ITEM_Object
See Also:
Constant Field Values

ITEM_NewObject

static final byte ITEM_NewObject
See Also:
Constant Field Values

ITEM_NAMES

static final String[] ITEM_NAMES

SAME_FRAME

static final int SAME_FRAME
Constants used to identify StackMapEntry types. For those types which can specify a range, the constant names the lowest value.

See Also:
Constant Field Values

SAME_LOCALS_1_STACK_ITEM_FRAME

static final int SAME_LOCALS_1_STACK_ITEM_FRAME
See Also:
Constant Field Values

SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED

static final int SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED
See Also:
Constant Field Values

CHOP_FRAME

static final int CHOP_FRAME
See Also:
Constant Field Values

SAME_FRAME_EXTENDED

static final int SAME_FRAME_EXTENDED
See Also:
Constant Field Values

APPEND_FRAME

static final int APPEND_FRAME
See Also:
Constant Field Values

FULL_FRAME

static final int FULL_FRAME
See Also:
Constant Field Values

SAME_FRAME_MAX

static final int SAME_FRAME_MAX
Constants that define the maximum value of those constants which store ranges.

See Also:
Constant Field Values

SAME_LOCALS_1_STACK_ITEM_FRAME_MAX

static final int SAME_LOCALS_1_STACK_ITEM_FRAME_MAX
See Also:
Constant Field Values

CHOP_FRAME_MAX

static final int CHOP_FRAME_MAX
See Also:
Constant Field Values

APPEND_FRAME_MAX

static final int APPEND_FRAME_MAX
See Also:
Constant Field Values

Apache Tomcat 7.0.28

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.