Class GenericsClassHelper
- java.lang.Object
-
- org.eclipse.persistence.internal.jaxb.GenericsClassHelper
-
public class GenericsClassHelper extends java.lang.ObjectUtility class for Generic class hierarchy.
-
-
Constructor Summary
Constructors Constructor Description GenericsClassHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.ClassgetClassOfType(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.
-
-
-
Method Detail
-
getParameterizedTypeArguments
public 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.- Parameters:
concrete- the concrete class than directly or indirectly implements or extends an interface class.classOrIface- the interface or class.- Returns:
- the parameterized type arguments, or null if the generic interface type is not a parameterized type.
-
getClassOfType
protected static java.lang.Class getClassOfType(java.lang.reflect.Type type)
-
-