See: Description
| Class | Description |
|---|---|
| AnnotationElementValue | |
| AnnotationEntry |
Represents one annotation in the annotation table
|
| Annotations |
base class for annotations
|
| ArrayElementValue | |
| 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 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
element_value {
u1 tag;
union {
u2 const_value_index;
{ u2 type_name_index;
u2 const_name_index;
} enum_const_value;
u2 class_info_index;
annotation annotation_value;
{ u2 num_values;
element_value values[num_values];
} array_value;
} value;
}
|
| 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 |
| 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.
|
This package contains the classes that describe the structure of a Java class file and a class file parser.
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.