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.
-
Class Summary Class Description AnnotationElementValue AnnotationEntry represents one annotation in the annotation tableAnnotations base class for annotationsArrayElementValue ClassElementValue 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 abstractConstant
and represents a reference to a (external) class.ConstantDouble This class is derived from the abstractConstant
and represents a reference to a Double object.ConstantFloat This class is derived from the abstractConstant
and represents a reference to a float object.ConstantInteger This class is derived from the abstractConstant
and represents a reference to an int object.ConstantLong This class is derived from the abstractConstant
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 This class is derived from the abstract Constant class and represents a reference to a Utf8 encoded string.ElementValue ElementValuePair an annotation's element value pairEnumElementValue JavaClass Represents a Java class, i.e., the data structures, constant pool, fields, methods and commands contained in a Java .class file.SimpleElementValue -
Exception Summary Exception Description ClassFormatException Thrown when the BCEL attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.