class MatchPredicate extends Expression {

    private final List<MatchPredicateColumnIdent> idents;
    private final Expression value;
    private final GenericProperties<Expression> properties;
    private final String matchType;

    public MatchPredicate(List<MatchPredicateColumnIdent> idents,
                          Expression value,
                          @Nullable String matchType,
                          GenericProperties<Expression> properties) {
        if (idents.isEmpty()) {
            throw new IllegalArgumentException("at least one ident must be given");
        }
        this.idents = idents;
        this.value = requireNonNull(value, "query_term is null");
        this.matchType = matchType;
        this.properties = properties;
    }

    public List<MatchPredicateColumnIdent> idents() {
        return idents;
    }

    public Expression value() {
        return value;
    }

    @Nullable
    public String matchType() {
        return matchType;
    }

    public GenericProperties<Expression> properties() {
        return properties;
    }

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

    @Override
    public int hashCode() {
        return Objects.hash(idents, value, properties, matchType);
    }

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

}

        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        MatchPredicate that = (MatchPredicate) o;
        return Objects.equals(idents, that.idents) &&
               Objects.equals(value, that.value) &&
               Objects.equals(properties, that.properties) &&
               Objects.equals(matchType, that.matchType);
    
<methods>public non-sealed void <init>() ,public R accept(AstVisitor<R,C>, C) ,public final java.lang.String toString() <variables>