Package aQute.bnd.classfile
Class CodeAttribute
java.lang.Object
aQute.bnd.classfile.CodeAttribute
- All Implemented Interfaces:
Attribute
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Attribute[]
final ByteBuffer
final CodeAttribute.ExceptionHandler[]
final int
final int
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionCodeAttribute
(int max_stack, int max_locals, ByteBuffer code, CodeAttribute.ExceptionHandler[] exception_table, Attribute[] attributes) -
Method Summary
Modifier and TypeMethodDescriptionint
name()
static CodeAttribute
read
(DataInput in, ConstantPool constant_pool) toString()
void
write
(DataOutput out, ConstantPool constant_pool)
-
Field Details
-
NAME
- See Also:
-
max_stack
public final int max_stack -
max_locals
public final int max_locals -
code
-
exception_table
-
attributes
-
-
Constructor Details
-
CodeAttribute
public CodeAttribute(int max_stack, int max_locals, ByteBuffer code, CodeAttribute.ExceptionHandler[] exception_table, Attribute[] attributes)
-
-
Method Details
-
name
-
toString
-
read
- Throws:
IOException
-
write
- Specified by:
write
in interfaceAttribute
- Throws:
IOException
-
attribute_length
public int attribute_length()- Specified by:
attribute_length
in interfaceAttribute
-