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 and Description |
---|---|
class |
AnnotationElementValue |
class |
ArrayElementValue |
class |
ClassElementValue |
class |
EnumElementValue |
class |
SimpleElementValue |
Modifier and Type | Method and Description |
---|---|
ElementValue |
AnnotationDefault.getDefaultValue() |
ElementValue[] |
ArrayElementValue.getElementValuesArray() |
ElementValue |
ElementValuePair.getValue() |
static ElementValue |
ElementValue.readElementValue(DataInput input,
ConstantPool cpool) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationDefault.setDefaultValue(ElementValue defaultValue) |
Constructor and 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 and Description |
---|---|
ElementValue |
EnumElementValueGen.getElementValue()
Return immutable variant of this EnumElementValue
|
ElementValue |
AnnotationElementValueGen.getElementValue()
Return immutable variant of this AnnotationElementValueGen
|
ElementValue |
ArrayElementValueGen.getElementValue()
Return immutable variant of this ArrayElementValueGen
|
abstract ElementValue |
ElementValueGen.getElementValue()
Subtypes return an immutable variant of the ElementValueGen
|
ElementValue |
SimpleElementValueGen.getElementValue()
Return immutable variant
|
ElementValue |
ClassElementValueGen.getElementValue()
Return immutable variant of this ClassElementValueGen
|
Modifier and Type | Method and 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 and Description |
---|
ArrayElementValueGen(int type,
ElementValue[] datums,
ConstantPoolGen cpool) |
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.