public RuntimeType getReturnType() {
        return returnType;
    }
Gets the statically known return type of the expression.

@return Returns the return type of the expression.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/LinterResult.java