| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | EnclosingMethod(final int nameIndex, final int len, final DataInput input, final ConstantPool cpool)
|
| private | EnclosingMethod(final int nameIndex, final int len, final int classIndex, final int methodIndex, final ConstantPool cpool)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor v)
Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public Attribute | copy(final ConstantPool constantPool)
Implements abstract com.
|
| public final void | dump(final DataOutputStream file)
Overrides com. Dumps attribute to file stream in binary format. |
| public final ConstantClass | |
| public final int | |
| public final ConstantNameAndType | |
| public final int | |
| public final void | |
| public final void |
| classIndex | back to summary |
|---|---|
| private int classIndex | |
| methodIndex | back to summary |
|---|---|
| private int methodIndex | |
| EnclosingMethod | back to summary |
|---|---|
| pack-priv EnclosingMethod(final int nameIndex, final int len, final DataInput input, final ConstantPool cpool) throws IOException | |
| EnclosingMethod | back to summary |
|---|---|
| private EnclosingMethod(final int nameIndex, final int len, final int classIndex, final int methodIndex, final ConstantPool cpool) | |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract com. Implements com. Doc from com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
| |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract com.
| |
| dump | back to summary |
|---|---|
| public final void dump(final DataOutputStream file) throws IOException Overrides com. Doc from com. Dumps attribute to file stream in binary format.
| |
| getEnclosingClass | back to summary |
|---|---|
| public final ConstantClass getEnclosingClass() | |
| getEnclosingClassIndex | back to summary |
|---|---|
| public final int getEnclosingClassIndex() | |
| getEnclosingMethod | back to summary |
|---|---|
| public final ConstantNameAndType getEnclosingMethod() | |
| getEnclosingMethodIndex | back to summary |
|---|---|
| public final int getEnclosingMethodIndex() | |
| setEnclosingClassIndex | back to summary |
|---|---|
| public final void setEnclosingClassIndex(final int idx) | |
| setEnclosingMethodIndex | back to summary |
|---|---|
| public final void setEnclosingMethodIndex(final int idx) | |