- <init>
Creates a new ConstantPoolEditor that will edit constants in the given target
class.
- addClassConstant
Finds or creates a ClassConstant constant pool entry for the given class.
- addConstant
Adds a given constant pool entry to the end of the constant pool/
- addFieldrefConstant
Finds or creates a FieldrefConstant constant pool entry for the given class and
field.
- addFloatConstant
Finds or creates a FloatConstant constant pool entry with the given value.
- addIntegerConstant
Finds or creates a IntegerConstant constant pool entry with the given value.
- addInterfaceMethodrefConstant
Finds or creates a InterfaceMethodrefConstant constant pool entry for the given
class and method.
- addLongConstant
Finds or creates a LongConstant constant pool entry with the given value.
- addMethodrefConstant
Finds or creates a MethodrefConstant constant pool entry for the given class and
method.
- addNameAndTypeConstant
Finds or creates a NameAndTypeConstant constant pool entry with the given name
and type.
- addStringConstant
Finds or creates a StringConstant constant pool entry with the given value.
- addUtf8Constant
Finds or creates a Utf8Constant constant pool entry for the given string.