public abstract class TypeReference<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
TypeReference() |
public T newInstance() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
T using the default, no-arg
constructor.IllegalAccessException - on security reflection issuesNoSuchMethodException - there's not getRawType on the typeInvocationTargetException - if a reflective call causes an exception in the underlying instanceInstantiationException - if the instance cannot be instantiatedpublic Type getType()
Copyright © 2013 Bushe Enterprises, Inc.. All Rights Reserved.