Node
public class EnclosingMethod extends Attribute
constant_pool, length, name_index, tag
Constructor | Description |
---|---|
EnclosingMethod(int nameIndex,
int len,
java.io.DataInputStream dis,
ConstantPool cpool) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor v) |
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
Attribute |
copy(ConstantPool constant_pool) |
|
void |
dump(java.io.DataOutputStream file) |
Dump attribute to file stream in binary format.
|
ConstantClass |
getEnclosingClass() |
|
int |
getEnclosingClassIndex() |
|
ConstantNameAndType |
getEnclosingMethod() |
|
int |
getEnclosingMethodIndex() |
|
void |
setEnclosingClassIndex(int idx) |
|
void |
setEnclosingMethodIndex(int idx) |
addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toString
public EnclosingMethod(int nameIndex, int len, java.io.DataInputStream dis, ConstantPool cpool) throws java.io.IOException
java.io.IOException
public void accept(Visitor v)
Attribute
public Attribute copy(ConstantPool constant_pool)
public final int getEnclosingClassIndex()
public final int getEnclosingMethodIndex()
public final void setEnclosingClassIndex(int idx)
public final void setEnclosingMethodIndex(int idx)
public final ConstantClass getEnclosingClass()
public final ConstantNameAndType getEnclosingMethod()