EnclosingMethod_attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | tag
The name of this attribute |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | EnclosingMethodAttribute(ConstPool
a constant pool table. cp, String the name of the innermost enclosing class. className, String the name of the enclosing method. methodName, String the descriptor of the enclosing method. methodDesc)Constructs an EnclosingMethod attribute. |
| public | EnclosingMethodAttribute(ConstPool
a constant pool table. cp, String the name of the innermost enclosing class. className)Constructs an EnclosingMethod attribute. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public AttributeInfo | |
| public String | |
| public int | |
| public String |
| tag | back to summary |
|---|---|
| public static final String tag The name of this attribute | |
| EnclosingMethodAttribute | back to summary |
|---|---|
| pack-priv EnclosingMethodAttribute(ConstPool cp, int n, DataInputStream in) throws IOException | |
| EnclosingMethodAttribute | back to summary |
|---|---|
| public EnclosingMethodAttribute(ConstPool cp, String className, String methodName, String methodDesc) Constructs an EnclosingMethod attribute. | |
| EnclosingMethodAttribute | back to summary |
|---|---|
| public EnclosingMethodAttribute(ConstPool cp, String className) Constructs an EnclosingMethod attribute.
The value of | |
| classIndex | back to summary |
|---|---|
| public int classIndex() Returns the value of | |
| className | back to summary |
|---|---|
| public String className() Returns the name of the class specified by | |
| copy | back to summary |
|---|---|
| public AttributeInfo copy(ConstPool newCp, Map<String, String> classnames) Overrides javassist. Makes a copy. Class names are replaced according to the
given | |
| methodDescriptor | back to summary |
|---|---|
| public String methodDescriptor() Returns the method descriptor specified by | |
| methodIndex | back to summary |
|---|---|
| public int methodIndex() Returns the value of | |
| methodName | back to summary |
|---|---|
| public String methodName() Returns the method name specified by | |