Package org.drasyl.util
Class TypeReference<T>
- java.lang.Object
-
- org.drasyl.util.TypeReference<T>
-
- Type Parameters:
T
- the type we need the full generic type information from
public abstract class TypeReference<T> extends Object
This class is used for obtaining full generics type information by sub-classing.Adapted from http://gafter.blogspot.com/2006/12/super-type-tokens.html
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TypeReference()
-
-
-
Method Detail
-
getType
public Type getType()
Gets the referenced type.
-
-