presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/getType
class Analysis:    public Type getType(Expression expression)
    {
        Type type = types.get(NodeRef.of(expression));
        checkArgument(type != null, "Expression not analyzed: %s", expression);
        return type;
    }