presto-main/src/main/java/io/prestosql/metadata/SignatureBinder.java/SignatureBinder/isTypeWithLiteralParameters
class SignatureBinder:    private static boolean isTypeWithLiteralParameters(TypeSignature typeSignature)
    {
        return typeSignature.getParameters().stream()
                .map(TypeSignatureParameter::getKind)
                .allMatch(kind -> kind == ParameterKind.LONG || kind == ParameterKind.VARIABLE);
    }