public final class ClassUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.Class<T> |
getImplementedGeneric(java.lang.Class<?> clazz)
Get a generic on an interface a class is imlementing generic, a bit iffy, might not work in all scenarios
|
public static <T> java.lang.Class<T> getImplementedGeneric(java.lang.Class<?> clazz)
throws GenericException
T - Typeclazz - Class to get the generic fromGenericException - when it can't find the generic on the class