presto-main/src/main/java/io/prestosql/metadata/AggregationFunctionMetadata.java/AggregationFunctionMetadata/getIntermediateType
class AggregationFunctionMetadata:    public Optional<TypeSignature> getIntermediateType()
    {
        return intermediateType;
    }