presto-main/src/main/java/io/prestosql/operator/aggregation/InternalAggregationFunction.java/InternalAggregationFunction/getFinalType
class InternalAggregationFunction:    public Type getFinalType()
    {
        return finalType;
    }