constant_pool, EMPTY_ARRAY, length, name_index, tag
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
|
Attribute |
copy(ConstantPool constantPool) |
void |
dump(DataOutputStream file)
Dumps attribute to file stream in binary format.
|
ConstantClass |
getEnclosingClass() |
int |
getEnclosingClassIndex() |
ConstantNameAndType |
getEnclosingMethod() |
int |
getEnclosingMethodIndex() |
void |
setEnclosingClassIndex(int idx) |
void |
setEnclosingMethodIndex(int idx) |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toString
public void accept(Visitor v)
Attribute
public Attribute copy(ConstantPool constantPool)
public final void dump(DataOutputStream file) throws IOException
Attribute
dump
in class Attribute
file
- Output file streamIOException
- if an I/O error occurs.public final ConstantClass getEnclosingClass()
public final int getEnclosingClassIndex()
public final ConstantNameAndType getEnclosingMethod()
public final int getEnclosingMethodIndex()
public final void setEnclosingClassIndex(int idx)
public final void setEnclosingMethodIndex(int idx)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.