presto-main/src/main/java/io/prestosql/type/FunctionType.java/FunctionType/getJavaType
class FunctionType:    @Override
    public final Class<?> getJavaType()
    {
        throw new UnsupportedOperationException(getTypeSignature() + " type does not have Java type");
    }