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 ByteBufferfinal CodeAttribute.ExceptionHandler[]final intfinal intstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionCodeAttribute(int max_stack, int max_locals, ByteBuffer code, CodeAttribute.ExceptionHandler[] exception_table, Attribute[] attributes) -
Method Summary
Modifier and TypeMethodDescriptionintname()static CodeAttributeread(DataInput in, ConstantPool constant_pool) toString()voidwrite(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:
writein interfaceAttribute- Throws:
IOException
-
attribute_length
public int attribute_length()- Specified by:
attribute_lengthin interfaceAttribute
-