@Override public Boolean visit(final SingleMemberAnnotationExpr n1, final Node arg) { final SingleMemberAnnotationExpr n2 = (SingleMemberAnnotationExpr) arg; if (!nodeEquals(n1.getName(), n2.getName())) { return Boolean.FALSE; } if (!nodeEquals(n1.getMemberValue(), n2.getMemberValue())) { return Boolean.FALSE; } return Boolean.TRUE; }
public void visit(SingleMemberAnnotationExpr n, Object arg) { n.getName().accept(this, arg); n.getMemberValue().accept(this, arg); }