presto-main/src/main/java/io/prestosql/metadata/PolymorphicScalarFunctionBuilder.java/SpecializeContext/getReturnType
class SpecializeContext:        public Type getReturnType()
        {
            return returnType;
        }