presto-main/src/main/java/io/prestosql/sql/analyzer/ConstantExpressionVerifier.java/ConstantExpressionVerifier/verifyExpressionIsConstant
class ConstantExpressionVerifier:    public static void verifyExpressionIsConstant(Set<NodeRef<Expression>> columnReferences, Expression expression)
    {
        new ConstantExpressionVerifierVisitor(columnReferences, expression).process(expression, null);
    }