public class ClassHierarchyHelper extends Object
| Constructor and Description |
|---|
ClassHierarchyHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<Class<? super T>> |
getDirectlyImplementedInterfaces(Class<T> clazz)
Gets all interfaces (and recursively their super-interfaces) which the
given class directly implements.
|
static <T> List<Class<? super T>> |
getHierarchy(Class<T> clazz,
Filter... filters)
Gets the elements of the hierarchy of the given class which match the
given filters.
|
public static <T> List<Class<? super T>> getHierarchy(Class<T> clazz, Filter... filters)
clazz - the class for which to retrieve the hierarchyfilters - filters applying for the searchpublic static <T> Set<Class<? super T>> getDirectlyImplementedInterfaces(Class<T> clazz)
clazz - the class for which to retrieve the implemented interfacesCopyright © 2009-2014 Oracle Corporation. All Rights Reserved.