|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.dataRead | +--attr.attrInfo
Base class for attributes (Section 4.7, JVM Specification). All other attributes are derived from this class. The attributes in (Java 1.2) are:
constant attribute
code attribute
exceptions attribute
inner classes attribute
synthetic attribute
source file attribute
line number table attribute
Local variable table attribute
deprecated attribute
All attributes have a CONSTANT_Utf8_info entry and a length. There may be attributes which are unknown. The data in these attributes (length bytes following the length field) is skipped.
The structure of the base class is:
attrInfo { u2 attr_name_index; u4 length; }
Field Summary | |
(package private) java.lang.String |
attrName
|
(package private) int |
len
|
Fields inherited from class util.dataRead |
bytesRead |
Constructor Summary | |
(package private) |
attrInfo(java.lang.String name,
int length)
|
Method Summary | |
java.lang.String |
getName()
|
void |
pr()
|
Methods inherited from class util.dataRead |
getBytesRead,
readU1,
readU2,
readU4 |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.lang.String attrName
int len
Constructor Detail |
attrInfo(java.lang.String name, int length)
Method Detail |
public java.lang.String getName()
public void pr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |