Interface AnnotationScanner
- All Known Implementing Classes:
BeanIntrospectionScanner, ClassPathAnnotationScanner
public interface AnnotationScanner
Interface for classes that scan for classes with a given annotation.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptionscan(Class<? extends Annotation> annotation, Package pkg) Scan the given packages.scan(Class<? extends Annotation> annotation, Package... packages) Scans the given package names.scan(Class<? extends Annotation> annotation, String... packages) Scans the given package names.scan(Class<? extends Annotation> annotation, Collection<String> packages) Scans the given package names.Scan the given packages.Scan the given packages.Scans the given package names.scan(String annotation, Collection<String> packages) Scans the given package names.Scans the given package names.
-
Method Details
-
scan
-
scan
-
scan
Scans the given package names.- Parameters:
annotation- The annotation to scanpackages- The packages- Returns:
- A stream of classes
-
scan
Scan the given packages.- Parameters:
annotation- The annotation to scan forpkg- The package to scan- Returns:
- A stream of classes
-
scan
-
scan
Scans the given package names.- Parameters:
annotation- The annotation name to scanpackages- The package names- Returns:
- A stream of classes
-
scan
Scans the given package names.- Parameters:
annotation- The annotation name to scanpackages- The package names- Returns:
- A stream of classes
-
scan
-
scan
Scans the given package names.- Parameters:
annotation- The annotation to scanpackages- The package names- Returns:
- A stream of classes
-