|
||||||||||
| 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.AttCode
public final class AttCode
Attribute class for standard Code attributes.
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_NAME
non-null; attribute name for attributes of this type |
| Constructor Summary | |
|---|---|
AttCode(int maxStack,
int maxLocals,
BytecodeArray code,
ByteCatchList catches,
AttributeList attributes)
Constructs an instance. |
|
| Method Summary | |
|---|---|
int |
byteLength()
Get the total length of the attribute in bytes, including the header. |
AttributeList |
getAttributes()
Gets the associated attribute list. |
ByteCatchList |
getCatches()
Gets the exception table. |
BytecodeArray |
getCode()
Gets the bytecode array. |
int |
getMaxLocals()
Gets the number of locals. |
int |
getMaxStack()
Gets the maximum stack size. |
| 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 AttCode(int maxStack,
int maxLocals,
BytecodeArray code,
ByteCatchList catches,
AttributeList attributes)
maxStack - >= 0; the stack sizemaxLocals - >= 0; the number of localscode - non-null; array containing the bytecode per secatches - non-null; the exception tableattributes - non-null; the associated list of attributes| Method Detail |
|---|
public int byteLength()
Attribute6.
>= 6; the total length, in bytespublic int getMaxStack()
>= 0; the maximum stack sizepublic int getMaxLocals()
>= 0; the number of localspublic BytecodeArray getCode()
non-null; the bytecode arraypublic ByteCatchList getCatches()
non-null; the exception tablepublic AttributeList getAttributes()
non-null; the attribute list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||