Module org.eclipse.persistence.moxy
Class GenericsClassHelper
java.lang.Object
org.eclipse.persistence.internal.jaxb.GenericsClassHelper
Utility class for Generic class hierarchy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Class
<?> getClassOfType
(Type type) static Type[]
getParameterizedTypeArguments
(Class<?> concrete, Class<?> classOrIface) Get the parameterized type arguments for a declaring class that declares a generic class or interface type.
-
Constructor Details
-
GenericsClassHelper
public GenericsClassHelper()
-
-
Method Details
-
getParameterizedTypeArguments
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
-