public static class ClassFile.CodeAttribute extends ClassFile.AttributeInfo
Code attribute, as read from a class file.| Modifier and Type | Class and Description |
|---|---|
static class |
ClassFile.CodeAttribute.ExceptionTableEntry
Representation of an entry in the "exception_table" of a "Code" attribute (see JVMS 4.7.3).
|
| Modifier and Type | Field and Description |
|---|---|
byte[] |
code |
| Constructor and Description |
|---|
CodeAttribute(short attributeNameIndex,
short maxStack,
short maxLocals,
byte[] code,
ClassFile.CodeAttribute.ExceptionTableEntry[] exceptionTableEntries,
ClassFile.AttributeInfo[] attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
storeBody(DataOutputStream dos)
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.
|
storepublic CodeAttribute(short attributeNameIndex,
short maxStack,
short maxLocals,
byte[] code,
ClassFile.CodeAttribute.ExceptionTableEntry[] exceptionTableEntries,
ClassFile.AttributeInfo[] attributes)
protected void storeBody(DataOutputStream dos) throws IOException
ClassFile.AttributeInfostoreBody in class ClassFile.AttributeInfoIOExceptionCopyright © 2022. All rights reserved.