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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AnnotationElementValue |
|
class |
ArrayElementValue |
|
class |
ClassElementValue |
|
class |
EnumElementValue |
|
class |
SimpleElementValue |
Modifier and Type | Method | Description |
---|---|---|
ElementValue |
AnnotationDefault.getDefaultValue() |
|
ElementValue[] |
ArrayElementValue.getElementValuesArray() |
|
ElementValue |
ElementValuePair.getValue() |
|
static ElementValue |
ElementValue.readElementValue(java.io.DataInputStream dis,
ConstantPool cpool) |
Modifier and Type | Method | Description |
---|---|---|
void |
AnnotationDefault.setDefaultValue(ElementValue defaultValue) |
Constructor | Description |
---|---|
AnnotationDefault(int name_index,
int length,
ElementValue defaultValue,
ConstantPool constant_pool) |
|
ArrayElementValue(int type,
ElementValue[] datums,
ConstantPool cpool) |
|
ElementValuePair(int elementNameIndex,
ElementValue elementValue,
ConstantPool constantPool) |
Modifier and Type | Method | Description |
---|---|---|
ElementValue |
AnnotationElementValueGen.getElementValue() |
Return immutable variant of this AnnotationElementValueGen
|
ElementValue |
ArrayElementValueGen.getElementValue() |
Return immutable variant of this ArrayElementValueGen
|
ElementValue |
ClassElementValueGen.getElementValue() |
Return immutable variant of this ClassElementValueGen
|
abstract ElementValue |
ElementValueGen.getElementValue() |
Subtypes return an immutable variant of the ElementValueGen
|
ElementValue |
EnumElementValueGen.getElementValue() |
Return immutable variant of this EnumElementValue
|
ElementValue |
SimpleElementValueGen.getElementValue() |
Return immutable variant
|
Modifier and Type | Method | Description |
---|---|---|
static ElementValueGen |
ElementValueGen.copy(ElementValue value,
ConstantPoolGen cpool,
boolean copyPoolEntries) |
Creates an (modifiable) ElementValueGen copy of an (immutable)
ElementValue - constant pool is assumed correct.
|
Constructor | Description |
---|---|
ArrayElementValueGen(int type,
ElementValue[] datums,
ConstantPoolGen cpool) |