presto-main/src/main/java/io/prestosql/sql/planner/ExpressionInterpreter.java/ExpressionInterpreter/getType
class ExpressionInterpreter:    public Type getType()
    {
        return expressionTypes.get(NodeRef.of(expression));
    }