| Modifier and Type | Class and Description |
|---|---|
static class |
CodeAttribute.ExceptionHandler |
| Modifier and Type | Field and Description |
|---|---|
Attribute[] |
attributes |
ByteBuffer |
code |
CodeAttribute.ExceptionHandler[] |
exception_table |
int |
max_locals |
int |
max_stack |
static String |
NAME |
| Constructor and Description |
|---|
CodeAttribute(int max_stack,
int max_locals,
ByteBuffer code,
CodeAttribute.ExceptionHandler[] exception_table,
Attribute[] attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
attribute_length() |
String |
name() |
static CodeAttribute |
read(DataInput in,
ConstantPool constant_pool) |
String |
toString() |
void |
write(DataOutput out,
ConstantPool constant_pool) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitattributes_length, readAttribute, readAttributes, writeAttributespublic static final String NAME
public final int max_stack
public final int max_locals
public final ByteBuffer code
public final CodeAttribute.ExceptionHandler[] exception_table
public final Attribute[] attributes
public CodeAttribute(int max_stack,
int max_locals,
ByteBuffer code,
CodeAttribute.ExceptionHandler[] exception_table,
Attribute[] attributes)
public static CodeAttribute read(DataInput in, ConstantPool constant_pool) throws IOException
IOExceptionpublic void write(DataOutput out, ConstantPool constant_pool) throws IOException
write in interface AttributeIOExceptionpublic int attribute_length()
attribute_length in interface AttributeCopyright © 2021. All rights reserved.