presto-main/src/main/java/io/prestosql/metadata/PolymorphicScalarFunctionBuilder.java/PolymorphicScalarFunctionBuilder/withExtraParameters
class PolymorphicScalarFunctionBuilder:        public MethodsGroupBuilder withExtraParameters(Function<SpecializeContext, List<Object>> extraParametersFunction)
        {
            checkState(!methodAndNativeContainerTypesList.build().isEmpty(), "methods must be selected first");
            requireNonNull(extraParametersFunction, "extraParametersFunction is null");
            this.extraParametersFunction = Optional.of(extraParametersFunction);
            return this;
        }