public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }
public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }
public void visitStringConstant(Clazz clazz, StringConstant stringConstant) { Member referencedMember = stringConstant.referencedMember; if (referencedMember != null) { Clazz referencedClass = stringConstant.referencedClass; // Put the actual class member's name in the class pool. name = referencedMember.getName(referencedClass); clazz.constantPoolEntryAccept(stringConstant.u2stringIndex, this); } }
public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) { // Remember the access flags. referencingMethodAccessFlags = method.getAccessFlags(); // Fix the referenced classes and class members. clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); }
/** * Removes the given Clazz from the class pool. */ public void removeClass(Clazz clazz) { removeClass(clazz.getName()); }
public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }
public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }
public void visitAnyStringConstant(Clazz clazz, StringConstant stringConstant) { Member referencedMember = stringConstant.referencedMember; if (referencedMember != null) { Clazz referencedClass = stringConstant.referencedClass; // Put the actual class member's name in the class pool. name = referencedMember.getName(referencedClass); clazz.constantPoolEntryAccept(stringConstant.u2stringIndex, this); } }
public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) { // Remember the access flags. referencingMethodAccessFlags = method.getAccessFlags(); // Fix the referenced classes and class members. clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); }
public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }
public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }
public void methodAccept(String name, String descriptor, MemberVisitor memberVisitor) { Method method = findMethod(name, descriptor); if (method != null) { method.accept(this, memberVisitor); } }