I need to implement a Java interface that has a method similar to this:

```
boolean canWrite(Type t);

```

In my case it should return `true` if the type is `List<URI>`.

I though of doing something like `return t.equals(URI_LIST_TYPE)`, but I don't know how to get an instance of [Type](https://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html) that represents `List<URI>`.

Is there a pretty way to do it?