private void commit() { for (ClassNode c : classes) { for (MethodNode m : c.methods()) { m.releaseGraph(); m.editor().commit(); } c.editor.commit(); c.info.commit(); } }
public FieldNode field(MemberRef ref) { for (ClassNode c : classes()) { if (ref.declaringClass().equals(Type.getType("L" + c.name() + ";"))) { for (FieldNode f : c.fields()) { if (ref.nameAndType().equals(f.editor.nameAndType())) { return f; } } } } return null; }
public void accept(NodeVisitor visitor) { visitor.visitApplication(this); for (ClassNode c : classes) { c.accept(visitor); } }