# Package org.apache.tomcat.util.bcel.classfile

package org.apache.tomcat.util.bcel.classfile

This package contains the classes that describe the structure of a Java class file and a class file parser.

Related Packages
Package
Description
org.apache.tomcat.util.bcel
This package contains basic classes for the Byte Code Engineering Library and constants defined by the JVM specification.
Class
Description
AnnotationElementValue
AnnotationEntry
Represents one annotation in the annotation table
Annotations
base class for annotations
ArrayElementValue
ClassElementValue
ClassFormatException
Thrown when the BCEL attempts to read a class file and determines that a class is malformed or otherwise cannot be interpreted as a class file.
ClassParser
Wrapper class that parses a given Java .class file.
Constant
Abstract superclass for classes to represent the different constant types in the constant pool of a class file.
ConstantClass
This class is derived from the abstract `Constant` and represents a reference to a (external) class.
ConstantDouble
This class is derived from the abstract `Constant` and represents a reference to a Double object.
ConstantFloat
This class is derived from the abstract `Constant` and represents a reference to a float object.
ConstantInteger
This class is derived from the abstract `Constant` and represents a reference to an int object.
ConstantLong
This class is derived from the abstract `Constant` and represents a reference to a long object.
ConstantPool
This class represents the constant pool, i.e., a table of constants, of a parsed classfile.
ConstantUtf8
Extends the abstract `Constant` to represent a reference to a UTF-8 encoded string.
ElementValue
The element_value structure is documented at https://docs.oracle.com/javase/specs/jvms/se11/html/jvms-4.html#jvms-4.7.16.1
ElementValuePair
An annotation's element value pair.
EnumElementValue
JavaClass
Represents a Java class, i.e., the data structures, constant pool, fields, methods and commands contained in a Java .class file.
SimpleElementValue