presto-main/src/main/java/io/prestosql/metadata/Metadata.java/Metadata/getAggregateFunctionImplementation
class Metadata:    InternalAggregationFunction getAggregateFunctionImplementation(ResolvedFunction resolvedFunction);