public LinterResult lint(LiteralExpression currentNode) {
        Set<ExpressionProblem> problems = new TreeSet<>();
        TypeChecker typeChecker = new TypeChecker(currentNode, problems);
        LiteralExpression result = this.accept(typeChecker);
        return new LinterResult(result.getType(), problems);
    }
Lint the expression using static analysis.

@param currentNode The value to set as the current node.
@return Returns the problems that were detected.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/JmespathExpression.java