|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.cf.attrib.BaseAttribute
com.android.dx.cf.attrib.AttEnclosingMethod
public final class AttEnclosingMethod
Attribute class for standards-track EnclosingMethod
attributes.
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_NAME
non-null; attribute name for attributes of this type |
| Constructor Summary | |
|---|---|
AttEnclosingMethod(CstType type,
CstNat method)
Constructs an instance. |
|
| Method Summary | |
|---|---|
int |
byteLength()
Get the total length of the attribute in bytes, including the header. |
CstType |
getEnclosingClass()
Gets the innermost enclosing class. |
CstNat |
getMethod()
Gets the name-and-type of the innermost enclosing method, if any. |
| Methods inherited from class com.android.dx.cf.attrib.BaseAttribute |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTRIBUTE_NAME
non-null; attribute name for attributes of this type
| Constructor Detail |
|---|
public AttEnclosingMethod(CstType type,
CstNat method)
type - non-null; the innermost enclosing classmethod - null-ok; the name-and-type of the innermost enclosing
method, if any| Method Detail |
|---|
public int byteLength()
6.
>= 6; the total length, in bytespublic CstType getEnclosingClass()
non-null; the innermost enclosing classpublic CstNat getMethod()
null-ok; the name-and-type of the innermost enclosing
method, if any
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||