Package cloud.piranha.webapp.api
Interface AnnotationManager
-
- All Known Implementing Classes:
DefaultAnnotationManager
public interface AnnotationManager
The AnnotationManager API.- Author:
- Manfred Riem ([email protected]), Arjan Tijms
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AnnotationManager.AnnotationInfo<T>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Class<?>>
getAnnotatedClasses()
Get the set of all annotated classes.List<AnnotationManager.AnnotationInfo<?>>
getAnnotations(Class<?>... annotationClasses)
<T> List<AnnotationManager.AnnotationInfo<T>>
getAnnotations(Class<T> annotationClass)
<T> List<AnnotationManager.AnnotationInfo<T>>
getAnnotationsByTarget(Class<T> annotationClass, AnnotatedElement type)
List<Class<?>>
getInstances(Class<?>... instanceClasses)
<T> List<Class<T>>
getInstances(Class<T> instanceClass)
-
-
-
Method Detail
-
getAnnotations
<T> List<AnnotationManager.AnnotationInfo<T>> getAnnotations(Class<T> annotationClass)
-
getAnnotations
List<AnnotationManager.AnnotationInfo<?>> getAnnotations(Class<?>... annotationClasses)
-
getAnnotatedClasses
Set<Class<?>> getAnnotatedClasses()
Get the set of all annotated classes.- Returns:
- the set of all annotated classes
-
getAnnotationsByTarget
<T> List<AnnotationManager.AnnotationInfo<T>> getAnnotationsByTarget(Class<T> annotationClass, AnnotatedElement type)
-
-