It is not possible to do this exactly as you requested, and for the generic type to indicate an array or primitive.
The syntax allows things like:
public class Foo <az09$_ extends MyClassOrInterface & Serializable & Closeable> {...}
az09 $_ - , .
az09 $_ java, public class Foo<T[]> {...} , public class Foo[] {...}.
, , , T, i.e:
public class Foo<T> {
public T[] processIt(T... ts) {
return ts;
}
}