presto-main/src/main/java/io/prestosql/type/FunctionType.java/FunctionType/getTypeParameters
class FunctionType:    @Override
    public List<Type> getTypeParameters()
    {
        return ImmutableList.<Type>builder().addAll(argumentTypes).add(returnType).build();
    }