/** * Adds the given class constant to the edited class. * * @param name the class name to be added. * @param referencedClass the corresponding referenced class. * * @return the constant pool index of the ClassConstant. */ public int addClassConstant(String name, Clazz referencedClass) { return constantPoolEditor.addClassConstant(name, referencedClass); }
/** * Adds the given class constant to the edited class. * * @param name the class name to be added. * @param referencedClass the corresponding referenced class. * * @return the constant pool index of the ClassConstant. */ public int addClassConstant(String name, Clazz referencedClass) { return constantPoolEditor.addClassConstant(name, referencedClass); }
/** * Adds the given class constant to the edited class. * * @param name the class name to be added. * @param referencedClass the corresponding referenced class. * * @return the constant pool index of the ClassConstant. */ public int addClassConstant(String name, Clazz referencedClass) { return constantPoolEditor.addClassConstant(name, referencedClass); }
public void visitClassConstant(Clazz clazz, ClassConstant classConstant) { // Add the class constant, with its referenced class.. constantIndex = constantPoolEditor.addClassConstant(classConstant.getName(clazz), classConstant.referencedClass); }
public void visitClassConstant(Clazz clazz, ClassConstant classConstant) { // Add the class constant, with its referenced class.. constantIndex = constantPoolEditor.addClassConstant(classConstant.getName(clazz), classConstant.referencedClass); }
/** * Finds or creates a ClassConstant constant pool entry for the given class. * @return the constant pool index of the ClassConstant. */ public int addClassConstant(Clazz referencedClass) { return addClassConstant(referencedClass.getName(), referencedClass); }
public void visitClassConstant(Clazz clazz, ClassConstant classConstant) { // Add the class constant, with its referenced class.. constantIndex = constantPoolEditor.addClassConstant(classConstant.getName(clazz), classConstant.referencedClass); }
public void visitClassConstant(Clazz clazz, ClassConstant classConstant) { // Add the class constant, with its referenced class.. constantIndex = constantPoolEditor.addClassConstant(classConstant.getName(clazz), classConstant.referencedClass); }
/** * Finds or creates a ClassConstant constant pool entry for the given class. * @return the constant pool index of the ClassConstant. */ public int addClassConstant(Clazz referencedClass) { return addClassConstant(referencedClass.getName(), referencedClass); }
/** * Finds or creates a ClassConstant constant pool entry for the given class. * @return the constant pool index of the ClassConstant. */ public int addClassConstant(Clazz referencedClass) { return addClassConstant(referencedClass.getName(), referencedClass); }
/** * Finds or creates a ClassConstant constant pool entry for the given class. * @return the constant pool index of the ClassConstant. */ public int addClassConstant(Clazz referencedClass) { return addClassConstant(referencedClass.getName(), referencedClass); }
public InstructionSequenceBuilder multianewarray(String className, Clazz referencedClass) { return multianewarray(constantPoolEditor.addClassConstant(className, referencedClass)); }
public InstructionSequenceBuilder instanceof_(String className, Clazz referencedClass) { return instanceof_(constantPoolEditor.addClassConstant(className, referencedClass)); }
public CompactCodeAttributeComposer multianewarray(String className, Clazz referencedClass) { return multianewarray(constantPoolEditor.addClassConstant(className, referencedClass)); }
public CompactCodeAttributeComposer new_(String className, Clazz referencedClass) { return new_(constantPoolEditor.addClassConstant(className, referencedClass)); }
public CompactCodeAttributeComposer checkcast(String className, Clazz referencedClass) { return checkcast(constantPoolEditor.addClassConstant(className, referencedClass)); }
/** * Finds or creates a class constant for the given reference value, and * returns its index in the constant pool. */ private int createClassConstant(ProgramClass programClass, ReferenceValue referenceValue) { return new ConstantPoolEditor(programClass).addClassConstant(referenceValue.getType(), referenceValue.getReferencedClass()); }
/** * Finds or creates a class constant for the given reference value, and * returns its index in the constant pool. */ private int createClassConstant(ProgramClass programClass, ReferenceValue referenceValue) { return new ConstantPoolEditor(programClass).addClassConstant(referenceValue.getType(), referenceValue.getReferencedClass()); }
/** * Finds or creates a class constant for the given reference value, and * returns its index in the constant pool. */ private int createClassConstant(ProgramClass programClass, ReferenceValue referenceValue) { return new ConstantPoolEditor(programClass).addClassConstant(referenceValue.getType(), referenceValue.getReferencedClass()); }
/** * Finds or creates a class constant for the given reference value, and * returns its index in the constant pool. */ private int createClassConstant(ProgramClass programClass, ReferenceValue referenceValue) { return new ConstantPoolEditor(programClass).addClassConstant(referenceValue.getType(), referenceValue.getReferencedClass()); }