| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static < the type of the class T> Set | Returns: Set of all interfaces implemented by the class represented by this hierarchy. The empty list is returned if it does not implement any interfaces.the class for which to retrieve the implemented interfaces clazz)Gets all interfaces (and recursively their super-interfaces) which the given class directly implements. |
| public static < the type of the class T> List | Returns: List of hierarchy classes. Will only contain those types matching the given filters. The list contains the given class itself, if it is no proxy class.the class for which to retrieve the hierarchy clazz, Filter... filters applying for the search filters)Gets the elements of the hierarchy of the given class which match the given filters. |
| private static <T> void | |
| private static <T> void |
| ClassHierarchyHelper | back to summary |
|---|---|
| private ClassHierarchyHelper() | |
| acceptedByAllFilters | back to summary |
|---|---|
| private static boolean acceptedByAllFilters(Class<?> clazz, Iterable<Filter> filters) | |
| getDirectlyImplementedInterfaces | back to summary |
|---|---|
| public static <T> Set Gets all interfaces (and recursively their super-interfaces) which the given class directly implements. Interfaces implemented by super-classes are not contained. | |
| getHierarchy | back to summary |
|---|---|
| public static <T> List Gets the elements of the hierarchy of the given class which match the given filters. Classes are added by starting with the class itself and its implemented interfaces. Then its super class and interfaces are added and so on. | |
| getHierarchy | back to summary |
|---|---|
| private static <T> void getHierarchy(Class<? super T> clazz, List<Class<? super T>> classes, Iterable<Filter> filters) Retrieves all superclasses and interfaces recursively. | |
| getImplementedInterfaces | back to summary |
|---|---|
| private static <T> void getImplementedInterfaces(Class<? super T> clazz, Set<Class<? super T>> classes) | |