|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.classfile.AttributeVector
A list of attributes within a class file. These lists occur in several places within a class file - at class level - at method level - at field level - at attribute level
Field Summary | |
private ClassAttribute[] |
attributes
|
Constructor Summary | |
AttributeVector()
Construct an empty AttributeVector |
Method Summary | |
void |
addElement(ClassAttribute attr)
Add an element to the vector |
private ClassAttribute |
attrAt(int i)
Returns the i'th attribute in the array |
java.util.Enumeration |
elements()
|
ClassAttribute |
findAttribute(java.lang.String attrName)
Look for an attribute of a specific name |
boolean |
isEqual(java.util.Stack msg,
java.lang.Object obj)
Compares this instance with another for structural equality. |
(package private) void |
print(java.io.PrintStream out,
int indent)
Print a description of the attributes |
(package private) static AttributeVector |
readAttributes(java.io.DataInputStream data,
CodeEnv codeEnv)
ClassMethod attribute reader |
(package private) static AttributeVector |
readAttributes(java.io.DataInputStream data,
ConstantPool constantPool)
General attribute reader |
(package private) void |
summarize(java.io.PrintStream out,
int indent)
Print a brief summary of the attributes |
(package private) void |
write(java.io.DataOutputStream out)
Write the attributes to the output stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ClassAttribute[] attributes
Constructor Detail |
public AttributeVector()
Method Detail |
private ClassAttribute attrAt(int i)
public void addElement(ClassAttribute attr)
public java.util.Enumeration elements()
public ClassAttribute findAttribute(java.lang.String attrName)
public boolean isEqual(java.util.Stack msg, java.lang.Object obj)
static AttributeVector readAttributes(java.io.DataInputStream data, ConstantPool constantPool) throws java.io.IOException
java.io.IOException
static AttributeVector readAttributes(java.io.DataInputStream data, CodeEnv codeEnv) throws java.io.IOException
java.io.IOException
void write(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
void print(java.io.PrintStream out, int indent)
void summarize(java.io.PrintStream out, int indent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |