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 | Method and Description |
---|---|
static Attribute[] |
Utility.getAnnotationAttributes(ConstantPoolGen cp,
List<AnnotationEntryGen> vec)
Converts a list of AnnotationGen objects into a set of attributes
that can be attached to the class file.
|
Modifier and Type | Field and Description |
---|---|
protected List<AnnotationEntryGen> |
FieldGenOrMethodGen.annotation_vec |
Modifier and Type | Method and Description |
---|---|
AnnotationEntryGen |
AnnotationElementValueGen.getAnnotation() |
AnnotationEntryGen[] |
FieldGenOrMethodGen.getAnnotationEntries() |
AnnotationEntryGen[] |
ClassGen.getAnnotationEntries() |
static AnnotationEntryGen |
AnnotationEntryGen.read(DataInputStream dis,
ConstantPoolGen cpool,
boolean b) |
Modifier and Type | Method and Description |
---|---|
List<AnnotationEntryGen> |
MethodGen.getAnnotationsOnParameter(int i)
Return a list of AnnotationGen objects representing parameter annotations
|
Modifier and Type | Method and Description |
---|---|
void |
FieldGenOrMethodGen.addAnnotationEntry(AnnotationEntryGen ag) |
void |
ClassGen.addAnnotationEntry(AnnotationEntryGen a) |
void |
MethodGen.addParameterAnnotation(int parameterIndex,
AnnotationEntryGen annotation) |
void |
FieldGenOrMethodGen.removeAnnotationEntry(AnnotationEntryGen ag) |
Constructor and Description |
---|
AnnotationElementValueGen(AnnotationEntryGen a,
ConstantPoolGen cpool) |
AnnotationElementValueGen(int type,
AnnotationEntryGen annotation,
ConstantPoolGen cpool) |
Copyright © 2017. All rights reserved.