|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.utils.GenericsUtils
public final class GenericsUtils
A generic class utils.
Method Summary | ||
---|---|---|
static
|
getTypeArguments(Class<T> baseClass,
Type childClass)
Get the actual type arguments a child class has used to extend a generic base class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> Collection<Class<?>> getTypeArguments(Class<T> baseClass, Type childClass)
T
- The type.baseClass
- the base classchildClass
- the child class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |