Interface ContainerAnnotations
- 
 public interface ContainerAnnotationsInterface to check if a container has any classes using specific annotations
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Set<java.lang.String>getClassesWithSpecifiedInheritedAnnotations(java.util.List<java.lang.String> annotationTypeNames)Deprecated.java.util.Set<java.lang.String>getClassesWithSpecifiedInheritedAnnotations(java.util.List<java.lang.String> annotationTypeNames, boolean useJandex)Returns the names of any classes in the container which have any of the specified annotations.booleanhasSpecifiedAnnotations(java.util.List<java.lang.String> annotationTypeNames)Deprecated.booleanhasSpecifiedAnnotations(java.util.List<java.lang.String> annotationTypeNames, boolean useJandex)Returns true if the container has any classes directly annotated with the specified annotations.
 
- 
- 
- 
Method Detail- 
hasSpecifiedAnnotationsboolean hasSpecifiedAnnotations(java.util.List<java.lang.String> annotationTypeNames, boolean useJandex)Returns true if the container has any classes directly annotated with the specified annotations. Uses a scan policy ofClassSource_Aggregate.ScanPolicy.SEED. Inherited annotations are NOT included in the scan results.- Parameters:
- annotationTypeNames- the annotation type names
- Returns:
- true if the container has any classes with the specified annotations
 
 - 
getClassesWithSpecifiedInheritedAnnotationsjava.util.Set<java.lang.String> getClassesWithSpecifiedInheritedAnnotations(java.util.List<java.lang.String> annotationTypeNames, boolean useJandex)Returns the names of any classes in the container which have any of the specified annotations. Uses a scan policy ofClassSource_Aggregate.ScanPolicy.SEED. Inherited annotations are included in the scan results.- Parameters:
- annotationTypeNames- the annotation type names
- Returns:
- the names of any classes which have any of the specified annotations (declared or inherited)
 
 - 
hasSpecifiedAnnotations@Deprecated boolean hasSpecifiedAnnotations(java.util.List<java.lang.String> annotationTypeNames) Deprecated.
 - 
getClassesWithSpecifiedInheritedAnnotations@Deprecated java.util.Set<java.lang.String> getClassesWithSpecifiedInheritedAnnotations(java.util.List<java.lang.String> annotationTypeNames) Deprecated.
 
- 
 
-