public class GenericsClassHelper
extends java.lang.Object
| Constructor and Description |
|---|
GenericsClassHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.Class |
getClassOfType(java.lang.reflect.Type type) |
static java.lang.reflect.Type[] |
getParameterizedTypeArguments(java.lang.Class concrete,
java.lang.Class classOrIface)
Get the parameterized type arguments for a declaring class that
declares a generic class or interface type.
|
public static java.lang.reflect.Type[] getParameterizedTypeArguments(java.lang.Class concrete,
java.lang.Class classOrIface)
concrete - the concrete class than directly or indirectly
implements or extends an interface class.classOrIface - the interface or class.protected static java.lang.Class getClassOfType(java.lang.reflect.Type type)