Package org.apache.tomcat.util.bcel.classfile
Classes that describe the structure of a Java class file and a class file parser.
-
Class Summary Class Description AnnotationElementValue Element value that represents an annotation.AnnotationEntry Represents one annotation in the annotation tableAnnotations base class for annotationsArrayElementValue Element value that represents an array of element values.ClassElementValue Represents a class element value in the constant pool.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 abstractConstantand represents a reference to a (external) class.ConstantDouble This class is derived from the abstractConstantand represents a reference to a Double object.ConstantFloat This class is derived from the abstractConstantand represents a reference to a float object.ConstantInteger This class is derived from the abstractConstantand represents a reference to an int object.ConstantLong This class is derived from the abstractConstantand 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 abstractConstantto 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.1ElementValuePair 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. -
Exception Summary Exception Description 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.