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

package org.apache.tomcat.util.bcel.classfile
Classes that describe the structure of a Java class file and a class file parser.

Related Packages
Package
Description
org.apache.tomcat.util.bcel
Basic classes for the Apache Byte Code Engineering Library (BCEL) and constants defined by the JVM specification.
Class
Description
AnnotationElementValue
Element value that represents an annotation.
AnnotationEntry
Represents one annotation in the annotation table
Annotations
base class for annotations
ArrayElementValue
Element value that represents an array of element values.
ClassElementValue
Represents a class element value in the constant pool.
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, that is, 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
Represents an enum constant element value in a Java annotation.
JavaClass
Represents a Java class, that is, the data structures, constant pool, fields, methods and commands contained in a Java .class file.
SimpleElementValue
Represents a simple element value in an annotation, where the value is a primitive type or String referenced by an index in the constant pool.