public abstract class GenericType<T>
extends java.lang.Object
implements java.io.Serializable, java.lang.reflect.Type
Usage is by sub-classing: here is one way to instantiate reference
to generic type List<Integer>:
GenericType type = new GenericType<List<Integer>>() { };
which can be passed to methods that accept GenericReference.| Modifier | Constructor and Description |
|---|---|
protected |
GenericType() |