Field
open class Field(val pool: ConstantPool, val nameConstant: Int, val typeConstant: Int, val flags: Short, val attributes: List<Attribute>)(source)
A class representing a field in the shake StorageFormat
Since
0.1.0
Parameters
pool
The ConstantPool
nameConstant
The constant pool index of the name of the field
typeConstant
The constant pool index of the type of the field
flags
The flags of the field
attributes
The attributes of the field
See also
Inheritors
Constructors
Link copied to clipboard
constructor(pool: ConstantPool, nameConstant: Int, typeConstant: Int, flags: Short, attributes: List<Attribute>)
Creates a Field with the given pool, nameConstant, typeConstant, flags and attributes
Properties
Link copied to clipboard
The attributes of the field
Link copied to clipboard
Returns if the field is abstract
Link copied to clipboard
Returns if the field is protected
Link copied to clipboard
The constant pool index of the name of the field
Link copied to clipboard
The ConstantPool
Link copied to clipboard
The constant pool index of the type of the field