| Package | Description |
|---|---|
| org.apache.bcel.classfile |
Classes that describe the structure of a Java class file and a class file parser.
|
| org.apache.bcel.generic |
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
|
| org.apache.bcel.util |
Utility classes for the Apache Byte Code Engineering Library (BCEL), namely:
Collection classes for JavaClass objects
A converter for class files to HTML
A tool to find instructions patterns via regular expressions
A class to find classes as defined in the CLASSPATH
A class loader that allows to create classes at run time
|
| org.apache.bcel.verifier.statics |
PassVerifier classes used internally by JustIce.
|
| Modifier and Type | Field and Description |
|---|---|
static Field[] |
Field.EMPTY_ARRAY
Empty array constant.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
Field.copy(ConstantPool constantPool) |
Field |
JavaClass.findField(String fieldName,
Type fieldType)
Finds a visible field by name and type in this class and its super classes.
|
Field[] |
JavaClass.getFields() |
| Modifier and Type | Method and Description |
|---|---|
static BCELComparator<Field> |
Field.getComparator() |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaClass.setFields(Field[] fields) |
void |
Visitor.visitField(Field obj) |
void |
EmptyVisitor.visitField(Field obj) |
void |
DescendingVisitor.visitField(Field field) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Field.setComparator(BCELComparator<Field> comparator) |
| Constructor and Description |
|---|
Field(Field c)
Initialize from another object.
|
JavaClass(int classNameIndex,
int superclassNameIndex,
String fileName,
int major,
int minor,
int accessFlags,
ConstantPool constantPool,
int[] interfaces,
Field[] fields,
Method[] methods,
Attribute[] attributes)
Constructor gets all contents as arguments.
|
JavaClass(int classNameIndex,
int superclassNameIndex,
String fileName,
int major,
int minor,
int accessFlags,
ConstantPool constantPool,
int[] interfaces,
Field[] fields,
Method[] methods,
Attribute[] attributes,
byte source)
Constructor gets all contents as arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
ClassGen.containsField(String name) |
Field |
FieldGen.getField()
Gets field object after having set up all necessary values.
|
Field[] |
ClassGen.getFields() |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassGen.addField(Field f)
Add a field to this class.
|
boolean |
ClassGen.containsField(Field f) |
void |
ClassGen.removeField(Field f)
Remove a field to this class.
|
void |
ClassGen.replaceField(Field old,
Field newField)
Replace given field with new one.
|
| Constructor and Description |
|---|
FieldGen(Field field,
ConstantPoolGen cp)
Instantiate from existing field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BCELifier.visitField(Field field) |
| Modifier and Type | Method and Description |
|---|---|
void |
StringRepresentation.visitField(Field obj) |
Copyright © 2004–2025 The Apache Software Foundation. All rights reserved.