CodeAttribute

constructor(pool: ConstantPool, nameConstant: Int, maxStack: Int, maxLocals: Int, code: ByteArray, exceptionTable: Array<CodeAttribute.ExceptionTableEntry>, attributes: Array<Attribute>)(source)

Creates a CodeAttribute with the given pool, nameConstant, maxStack, maxLocals, code, exceptionTable and attributes

Parameters

pool

the ConstantPool 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