public class EnclosingMethodAttr extends Attribute
| Constructor and Description |
|---|
EnclosingMethodAttr(ClassType cl) |
EnclosingMethodAttr(int class_index,
int method_index,
ClassType ctype) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignConstants(ClassType cl)
Add any needed constant pool entries for this Attribute.
|
static EnclosingMethodAttr |
getFirstEnclosingMethod(Attribute attr) |
int |
getLength()
Return the length of the attribute in bytes.
|
void |
print(ClassTypeWriter dst) |
void |
write(java.io.DataOutputStream dstr)
Write out the contents of the Attribute.
|
addToFrontOf, assignConstants, count, get, getConstants, getContainer, getLengthAll, getName, getNameIndex, getNext, isSkipped, setContainer, setName, setNameIndex, setNext, setSkipped, setSkipped, writeAllpublic EnclosingMethodAttr(ClassType cl)
public EnclosingMethodAttr(int class_index,
int method_index,
ClassType ctype)
public static EnclosingMethodAttr getFirstEnclosingMethod(Attribute attr)
public int getLength()
Attributepublic void assignConstants(ClassType cl)
AttributeassignConstants in class Attributepublic void write(java.io.DataOutputStream dstr)
throws java.io.IOException
Attributepublic void print(ClassTypeWriter dst)