class ShowTables extends Statement {

    @Nullable
    private final QualifiedName schema;
    @Nullable
    private final String likePattern;
    private final Optional<Expression> whereExpression;

    public ShowTables(@Nullable QualifiedName schema,
                      @Nullable String likePattern,
                      Optional<Expression> whereExpression) {
        this.schema = schema;
        this.whereExpression = whereExpression;
        this.likePattern = likePattern;
    }

    @Nullable
    public QualifiedName schema() {
        return schema;
    }

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

    public Optional<Expression> whereExpression() {
        return whereExpression;
    }

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

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ShowTables that = (ShowTables) o;
        return Objects.equals(schema, that.schema) &&
               Objects.equals(likePattern, that.likePattern) &&
               Objects.equals(whereExpression, that.whereExpression);
    }

    @Override
    public int hashCode() {
        return Objects.hash(schema, likePattern, whereExpression);
    }


    @Override
    public String toString() {<FILL_FUNCTION_BODY>}
}

        return "ShowTables{" +
               "schema=" + schema +
               ", likePattern='" + likePattern + '\'' +
               ", whereExpression=" + whereExpression +
               '}';
    
<methods>public non-sealed void <init>() ,public R accept(AstVisitor<R,C>, C) <variables>