MutableCodeAttribute
class MutableCodeAttribute(pool: MutableConstantPool, var nameConstant: Int, var maxStack: Int, var maxLocals: Int, var code: ByteArray, var exceptionTable: Array<CodeAttribute.ExceptionTableEntry>, var attributes: Array<Attribute>) : CodeAttribute, MutableAttribute(source)
Mutable CodeAttribute
Since
0.1.0
Parameters
pool
the MutableConstantPool of the attribute
nameConstant
the name of the attribute
maxStack
the maximum size of the stack
maxLocals
the maximum size of the locals
code
the code of the method
exceptionTable
the exception table of the method
attributes
the attributes of the method
See also
Constructors
Link copied to clipboard
constructor(pool: MutableConstantPool, nameConstant: Int, maxStack: Int, maxLocals: Int, code: ByteArray, exceptionTable: Array<CodeAttribute.ExceptionTableEntry>, attributes: Array<Attribute>)
Create a new MutableCodeAttribute
Properties
Link copied to clipboard
The attributes of the method
Link copied to clipboard
The exception table of the method
Link copied to clipboard
The name of the attribute
Link copied to clipboard
The MutableConstantPool of the attribute
Link copied to clipboard
The value of the attribute (Automatically generated from the maxStack, maxLocals, code, exceptionTable and attributes)
Functions
Link copied to clipboard
Link copied to clipboard
Dump the attribute to a ByteArray
Dump the attribute to a DataOutputStream
Link copied to clipboard
Get the hashCode of this CodeAttribute
Link copied to clipboard
Get the hash code of this Attribute