@Override public Boolean visit(final FieldAccessExpr n1, final Node arg) { final FieldAccessExpr n2 = (FieldAccessExpr) arg; if (!nodeEquals(n1.getScope(), n2.getScope())) { return Boolean.FALSE; } if (!objEquals(n1.getField(), n2.getField())) { return Boolean.FALSE; } if (!nodesEquals(n1.getTypeArgs(), n2.getTypeArgs())) { return Boolean.FALSE; } return Boolean.TRUE; }
@Override public void visit(final FieldAccessExpr n, final A arg) { visitComment(n.getComment(), arg); n.getScope().accept(this, arg); n.getFieldExpr().accept(this, arg); }