public interface TypeFinder
| Modifier and Type | Method and Description |
|---|---|
<T> Set<? extends T> |
getSubTypesAsInstances(Class<T> type)
Get sub types of the given class automatically creating them.
|
<T> Set<Class<? extends T>> |
getSubTypesOf(Class<T> type)
Get sub types of the given class.
|
Set<Class<?>> |
getTypesAnnotatedWith(Class<? extends Annotation> annotationType)
Get classes that have been annotated with a certain annotation.
|
Set<? extends Object> |
getTypesAnnotatedWithAsInstances(Class<? extends Annotation> annotationType)
Get classes that have the given annotation, automatically creating them.
|
Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotationType)
annotationType - Set<? extends Object> getTypesAnnotatedWithAsInstances(Class<? extends Annotation> annotationType)
annotationType - <T> Set<Class<? extends T>> getSubTypesOf(Class<T> type)
type - Copyright © 2016. All rights reserved.