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