class Select extends Node {

    private final boolean distinct;
    private final List<SelectItem> selectItems;

    public Select(boolean distinct, List<SelectItem> selectItems) {
        this.distinct = distinct;
        this.selectItems = Collections.unmodifiableList(selectItems);
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<SelectItem> getSelectItems() {
        return selectItems;
    }

    @Override
    public <R, C> R accept(AstVisitor<R, C> visitor, C context) {
        return visitor.visitSelect(this, context);
    }

    @Override
    public boolean equals(Object o) {<FILL_FUNCTION_BODY>}

    @Override
    public int hashCode() {
        return Objects.hash(distinct, selectItems);
    }

    @Override
    public String toString() {
        return "Select{" +
               "distinct=" + distinct +
               ", selectItems=" + selectItems +
               '}';
    }
}

        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        Select select = (Select) o;
        return distinct == select.distinct &&
               Objects.equals(selectItems, select.selectItems);
    
<methods>public non-sealed void <init>() ,public R accept(AstVisitor<R,C>, C) ,public abstract boolean equals(java.lang.Object) ,public abstract int hashCode() ,public abstract java.lang.String toString() <variables>