public class TypesModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypesModel.ClassHierarchyNode |
| Modifier and Type | Field and Description |
|---|---|
protected Set<Class<?>> |
allClasses |
protected Map<Class<?>,TypesModel.ClassHierarchyNode> |
classHierarchy |
protected ClassResolver |
classResolver |
protected Set<Class<? extends Annotation>> |
ignoreAnnotations |
protected Set<Class<?>> |
ignoreClasses |
protected Set<Predicate<String>> |
ignoreTypesMatchingClassNamePredicates |
| Constructor and Description |
|---|
TypesModel(Set<Class<?>> classes,
Set<String> packages,
Set<Class<? extends Annotation>> ignoreAnnotations,
Set<Predicate<String>> ignoreTypesMatchingClassNamePredicates,
Set<Class<?>> ignoreClasses,
ClassResolver specializedClassResolver) |
| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
getAssignableTypesWithinClassHierarchy(Type type)
This method is the core functionality to find polymorphic type structures.
|
protected TypesModel.ClassHierarchyNode |
getClassHierarchyNodeForType(Type type) |
protected final Map<Class<?>,TypesModel.ClassHierarchyNode> classHierarchy
protected final Set<Class<? extends Annotation>> ignoreAnnotations
protected final ClassResolver classResolver
protected TypesModel.ClassHierarchyNode getClassHierarchyNodeForType(Type type)
type - a typepublic Set<Type> getAssignableTypesWithinClassHierarchy(Type type)
type - the type for with sub types should be foundCopyright © 2021 BILD GmbH & Co. KG. All rights reserved.