Package org.fest.reflect.reference
Class TypeRef<T>
- java.lang.Object
-
- org.fest.reflect.reference.TypeRef<T>
-
- Type Parameters:
T
- the generic type in this reference.
public abstract class TypeRef<T> extends java.lang.Object
Understands a references a generic type. Based on Neal Gafter'sTypeReference
.- Since:
- 1.1
- Author:
- crazybob@google.com (Bob Lee), Alex Ruiz
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
rawType()
Returns the raw type of the generic type in this reference.
-
-
-
Constructor Detail
-
TypeRef
public TypeRef()
Creates a newTypeRef
.- Throws:
ReflectionError
- if the generic type of this reference is missing type parameter.
-
-