Package | Description |
---|---|
gnu.bytecode |
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationDefaultAttr
Represents a "AnnotationDefault" attribute.
|
class |
CodeAttr
Represents the contents of a standard "Code" attribute.
|
class |
ConstantValueAttr |
class |
EnclosingMethodAttr |
class |
ExceptionsAttr
Represents the contents of a standard "Exceptions" attribute.
|
class |
InnerClassesAttr |
class |
LineNumbersAttr
Represents the contents of a standard "LineNumberTable" attribute.
|
class |
LocalVarsAttr |
class |
MiscAttr |
class |
RuntimeAnnotationsAttr
Represents a "RuntimeVisibleAnnotations" or "RuntimeInvisibleAnnotations" attribute.
|
class |
SignatureAttr |
class |
SourceDebugExtAttr
Represents the contents of a JSR-45 "SourceDebugExtension" attribute.
|
class |
SourceFileAttr |
class |
StackMapTableAttr
Represents a "StackMapTable" attribute, as added in Java 6.
|
Modifier and Type | Method and Description |
---|---|
static Attribute |
Attribute.get(AttrContainer container,
java.lang.String name)
Find an Attribute by name, in an attribute cointainer.
|
Attribute |
AttrContainer.getAttributes()
Get the (first) Attribute of this container.
|
Attribute |
Method.getAttributes() |
Attribute |
CodeAttr.getAttributes() |
Attribute |
Field.getAttributes() |
Attribute |
ClassType.getAttributes() |
Attribute |
Attribute.getNext()
Get the next Attribute belonging to getContainer().
|
Attribute |
dump.readAttribute(java.lang.String name,
int length,
AttrContainer container) |
Attribute |
ClassFileInput.readAttribute(java.lang.String name,
int length,
AttrContainer container) |
Modifier and Type | Method and Description |
---|---|
static EnclosingMethodAttr |
EnclosingMethodAttr.getFirstEnclosingMethod(Attribute attr) |
static InnerClassesAttr |
InnerClassesAttr.getFirstInnerClasses(Attribute attr) |
void |
AttrContainer.setAttributes(Attribute attribute)
Set the (list of) Attributes of this container.
|
void |
Method.setAttributes(Attribute attributes) |
void |
CodeAttr.setAttributes(Attribute attributes) |
void |
Field.setAttributes(Attribute attributes) |
void |
ClassType.setAttributes(Attribute attributes) |
void |
Attribute.setNext(Attribute next)
Set the next Attribute in the chain belonging to getContainer().
|