public class ReflectionUtils extends Object
Constructor and Description |
---|
ReflectionUtils() |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
getClass(Type type) |
static <T> List<Class<?>> |
getTypeArguments(Class<T> baseClass,
Class<? extends T> childClass)
Get the actual type arguments a child class has used to extend a generic base class.
|
public static <T> List<Class<?>> getTypeArguments(@Nonnull Class<T> baseClass, @Nonnull Class<? extends T> childClass)
baseClass
- the base classchildClass
- the child classCopyright © 2009–2015 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.