Package | Description |
---|---|
org.apache.bcel.classfile |
This package contains the classes that describe the structure of a
Java class file and a class file parser.
|
org.apache.bcel.generic |
This package contains the "generic" part of the
Byte Code Engineering
Library, i.e., classes to dynamically modify class objects and
byte code instructions.
|
org.apache.bcel.util |
This package contains utility classes for the
Byte Code Engineering
Library, namely:
|
org.apache.bcel.verifier.statics |
Provides PassVerifier classes used internally by JustIce.
|
Modifier and Type | Method and Description |
---|---|
Field |
Field.copy(ConstantPool _constant_pool) |
Field[] |
JavaClass.getFields() |
Modifier and Type | Method and Description |
---|---|
void |
JavaClass.setFields(Field[] fields) |
void |
DescendingVisitor.visitField(Field field) |
void |
EmptyVisitor.visitField(Field obj) |
void |
Visitor.visitField(Field obj) |
Constructor and Description |
---|
Field(Field c)
Initialize from another object.
|
JavaClass(int class_name_index,
int superclass_name_index,
String file_name,
int major,
int minor,
int access_flags,
ConstantPool constant_pool,
int[] interfaces,
Field[] fields,
Method[] methods,
Attribute[] attributes)
Constructor gets all contents as arguments.
|
JavaClass(int class_name_index,
int superclass_name_index,
String file_name,
int major,
int minor,
int access_flags,
ConstantPool constant_pool,
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()
Get 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 new_)
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–2019 The Apache Software Foundation. All rights reserved.