Package | Description |
---|---|
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 | Field and Description |
---|---|
private AnnotationEntryGen |
AnnotationElementValueGen.a |
Modifier and Type | Field and Description |
---|---|
private java.util.List<AnnotationEntryGen> |
FieldGenOrMethodGen.annotation_vec |
private java.util.List<AnnotationEntryGen> |
ClassGen.annotation_vec |
Modifier and Type | Method and Description |
---|---|
AnnotationEntryGen |
AnnotationElementValueGen.getAnnotation() |
AnnotationEntryGen[] |
FieldGenOrMethodGen.getAnnotationEntries() |
AnnotationEntryGen[] |
ClassGen.getAnnotationEntries() |
static AnnotationEntryGen |
AnnotationEntryGen.read(java.io.DataInput dis,
ConstantPoolGen cpool,
boolean b) |
private AnnotationEntryGen[] |
ClassGen.unpackAnnotations(Attribute[] attrs)
Look for attributes representing annotations and unpack them.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AnnotationEntryGen> |
MethodGen.getAnnotationsOnParameter(int i)
Return a list of AnnotationGen objects representing parameter annotations
|
private java.util.List<AnnotationEntryGen> |
MethodGen.makeMutableVersion(AnnotationEntry[] mutableArray) |
Modifier and Type | Method and Description |
---|---|
protected void |
FieldGenOrMethodGen.addAnnotationEntry(AnnotationEntryGen ag) |
void |
ClassGen.addAnnotationEntry(AnnotationEntryGen a) |
void |
MethodGen.addParameterAnnotation(int parameterIndex,
AnnotationEntryGen annotation) |
(package private) static Attribute[] |
AnnotationEntryGen.getAnnotationAttributes(ConstantPoolGen cp,
AnnotationEntryGen[] annotationEntryGens)
Converts a list of AnnotationGen objects into a set of attributes
that can be attached to the class file.
|
protected void |
FieldGenOrMethodGen.removeAnnotationEntry(AnnotationEntryGen ag) |
Constructor and Description |
---|
AnnotationElementValueGen(AnnotationEntryGen a,
ConstantPoolGen cpool) |
AnnotationElementValueGen(int type,
AnnotationEntryGen annotation,
ConstantPoolGen cpool) |