@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof LinterResult)) {
            return false;
        }
        LinterResult that = (LinterResult) o;
        return returnType == that.returnType && problems.equals(that.problems);
    }
Gets the set of problems in the expression.

@return Returns the detected problems.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/LinterResult.java