|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JAttribute
An object JAttribute represents an attribute i.e. an attribute_info structure of a clasfile.
There exists attributes which are predefined as part of the class file specification. The predefined attributes are the SourceFile, ConstantValue, Code, Exceptions, InnerClasses, Synthetic, LineNumberTable, LocalVariableTable, and Deprecated attributes. Within the context of their use in this specification, that is, in the attributes tables of the class file structures in which they appear, the names of these predefined attributes are reserved.
| Field Summary | |
|---|---|
static java.lang.String |
CODE
The string representing the Code attribute. |
static java.lang.String |
CONSTANT_VALUE
The string representing ConstantValue attribute. |
static java.lang.String |
DEPRECATED
The string representing Deprecated attribute. |
static java.lang.String |
EXCEPTIONS
The string representing Exceptions attribute. |
static java.lang.String |
INNER_CLASSES
The string representing InnerClasses attribute. |
static java.lang.String |
LINE_NUMBER_TABLE
The string representing LineNumberTable attribute. |
static java.lang.String |
LOCAL_VARIABLE_TABLE
The string representing LocalVariableTable attribute. |
static java.lang.String |
SOURCE_FILE
The string representing SourceFile attribute. |
static java.lang.String |
SYNTHETIC
The string representing Synthetic attribute. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the attribute name. |
int |
getSize()
Returns the size of the attribute in bytes. |
java.lang.String |
toString()
Returns a string representation of this attribute. |
| Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem |
|---|
getConstantPool, readItem, setConstantPool, writeItem |
| Field Detail |
|---|
static final java.lang.String CODE
static final java.lang.String CONSTANT_VALUE
static final java.lang.String DEPRECATED
static final java.lang.String EXCEPTIONS
static final java.lang.String INNER_CLASSES
static final java.lang.String LINE_NUMBER_TABLE
static final java.lang.String LOCAL_VARIABLE_TABLE
static final java.lang.String SOURCE_FILE
static final java.lang.String SYNTHETIC
| Method Detail |
|---|
java.lang.String getName()
int getSize()
java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||