Package | Description |
---|---|
org.cojen.classfile | |
org.cojen.classfile.attribute |
Modifier and Type | Method and Description |
---|---|
Attribute |
AttributeFactory.createAttribute(ConstantPool cp,
String name,
int length,
DataInput din)
Create an attribute, using the provided name to determine which type.
|
Attribute[] |
MethodInfo.getAttributes() |
Attribute[] |
FieldInfo.getAttributes() |
Attribute[] |
ClassFile.getAttributes() |
Attribute[] |
Attribute.getAttributes()
Some attributes have sub-attributes.
|
static Attribute |
Attribute.readFrom(ConstantPool cp,
DataInput din,
AttributeFactory attrFactory) |
Modifier and Type | Method and Description |
---|---|
void |
MethodInfo.addAttribute(Attribute attr) |
void |
FieldInfo.addAttribute(Attribute attr) |
void |
ClassFile.addAttribute(Attribute attr)
Add an attribute to this class.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationsAttr
Base class for annotations attributes defined for Java 5.
|
class |
CodeAttr
This class corresponds to the Code_attribute structure as defined in The
Java Virtual Machine Specification.
|
class |
ConstantValueAttr
This class corresponds to the ConstantValue_attribute structure as defined
in The Java Virtual Machine Specification.
|
class |
DeprecatedAttr
This class defines the Deprecated attribute introduced in JDK1.1.
|
class |
EnclosingMethodAttr |
class |
ExceptionsAttr
This class corresponds to the Exceptions_attribute structure as defined in
The Java Virtual Machine Specification.
|
class |
InnerClassesAttr
This class corresponds to the InnerClasses_attribute structure as defined in
The Java Virual Machine Specification.
|
class |
LineNumberTableAttr
This class corresponds to the LineNumberTable_attribute structure as defined
in The Java Virtual Machine Specification.
|
class |
LocalVariableTableAttr
This class corresponds to the LocalVariableTable_attribute structure as
defined in The Java Virtual Machine Specification.
|
class |
ParameterAnnotationsAttr
Base class for parameter annotations attributes defined for Java 5.
|
class |
RuntimeInvisibleAnnotationsAttr
The class corresponds to the RuntimeInvisibleAnnotations_attribute structure
defined for Java 5.
|
class |
RuntimeInvisibleParameterAnnotationsAttr
The class corresponds to the RuntimeInvisibleParameterAnnotations_attribute
structure defined for Java 5.
|
class |
RuntimeVisibleAnnotationsAttr
The class corresponds to the RuntimeVisibleAnnotations_attribute structure
defined for Java 5.
|
class |
RuntimeVisibleParameterAnnotationsAttr
The class corresponds to the RuntimeVisibleParameterAnnotations_attribute
structure defined for Java 5.
|
class |
SignatureAttr
This class corresponds to the signature attribute structure, which is used
to support generics.
|
class |
SourceFileAttr
This class corresponds to the SourceFile_attribute structure as defined in
The Java Virtual Machine Specification.
|
class |
StackMapTableAttr |
class |
SyntheticAttr
This class corresponds to the Synthetic_attribute as defined in The Java
Virual Machine Specification.
|
class |
UnknownAttr |
Modifier and Type | Method and Description |
---|---|
Attribute[] |
CodeAttr.getAttributes() |
Modifier and Type | Method and Description |
---|---|
void |
CodeAttr.addAttribute(Attribute attr) |
Copyright © 2004-2015 Cojen. All Rights Reserved.