MutableConstantPool
A MutableConstantPool is a ConstantPool with the ability to add and remove ConstantPoolEntrys
Since
0.1.0
Parameters
The entries of the MutableConstantPool
Properties
Functions
Create a ConstantPoolEntry.ByteConstant with the given value
Create a ConstantPoolEntry.ClassConstant with the given value
Create a ConstantPoolEntry.DoubleConstant with the given value
Create a ConstantPoolEntry.FloatConstant with the given value
Create a ConstantPoolEntry.LongConstant with the given value
Create a ConstantPoolEntry.ShortConstant with the given value
Create a ConstantPoolEntry.StringConstant with the given value
Create a ConstantPoolEntry.Utf8Constant with the given value
Dump the ConstantPool to a ByteArray
Dump the ConstantPool to the given stream
Find the ConstantPoolEntry.ClassConstant with the given identifier
Find the ConstantPoolEntry.ClassConstant with the given name
Find the ConstantPoolEntry.DoubleConstant with the given value
Find the ConstantPoolEntry.StringConstant with the given value
Get the constant at the given index as a ConstantPoolEntry.ByteConstant
Get the constant at the given index as a ConstantPoolEntry.ClassConstant
Get the constant at the given index as a ConstantPoolEntry.DoubleConstant
Get the constant at the given index as a ConstantPoolEntry.FloatConstant
Get the constant at the given index as a ConstantPoolEntry.IntConstant
Get the constant at the given index as a ConstantPoolEntry.LongConstant
Get the constant at the given index as a ConstantPoolEntry.ShortConstant
Get the constant at the given index as a ConstantPoolEntry.StringConstant
Get the constant at the given identifier as a ConstantPoolEntry.Utf8Constant
Get the hashCode of the ConstantPool
Resolve the ConstantPoolEntry.ByteConstant with the given value If a ConstantPoolEntry.ByteConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.ClassConstant with the given value If a ConstantPoolEntry.ClassConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.DoubleConstant with the given value If a ConstantPoolEntry.DoubleConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.FloatConstant with the given value If a ConstantPoolEntry.FloatConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.IntConstant with the given value If a ConstantPoolEntry.IntConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.LongConstant with the given value If a ConstantPoolEntry.LongConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.ShortConstant with the given value If a ConstantPoolEntry.ShortConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.StringConstant with the given value If a ConstantPoolEntry.StringConstant with the given value does not exist, it will be created
Resolve the ConstantPoolEntry.Utf8Constant with the given value If a ConstantPoolEntry.Utf8Constant with the given value does not exist, it will be created
Get the string representation of the ConstantPool