public class ClassHierarchyHelper extends Object
| 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)
T - the type of the classclazz - the class for which to retrieve the hierarchyfilters - filters applying for the searchpublic static <T> Set<Class<? super T>> getDirectlyImplementedInterfaces(Class<T> clazz)
T - the type of the classclazz - the class for which to retrieve the implemented interfacesCopyright © 2018 JBoss by Red Hat. All rights reserved.