public interface AnnotationScanner
Modifier and Type | Method and Description |
---|---|
default Stream<Class<?>> |
scan(Class<? extends Annotation> annotation,
Collection<String> packages)
Scans the given package names.
|
default Stream<Class<?>> |
scan(Class<? extends Annotation> annotation,
Package... packages)
Scans the given package names.
|
default Stream<Class<?>> |
scan(Class<? extends Annotation> annotation,
Package pkg)
Scan the given packages.
|
default Stream<Class<?>> |
scan(Class<? extends Annotation> annotation,
String... packages)
Scans the given package names.
|
default Stream<Class<?>> |
scan(String annotation,
Collection<String> packages)
Scans the given package names.
|
default Stream<Class<?>> |
scan(String annotation,
Package... packages)
Scan the given packages.
|
default Stream<Class<?>> |
scan(String annotation,
Stream<String> packages)
Scans the given package names.
|
default Stream<Class<?>> |
scan(String annotation,
String... packages)
Scans the given package names.
|
Stream<Class<?>> |
scan(String annotation,
String pkg)
Scan the given packages.
|
@NonNull Stream<Class<?>> scan(@NonNull String annotation, @NonNull String pkg)
annotation
- The annotation to scan forpkg
- The package to scan@NonNull default Stream<Class<?>> scan(@NonNull String annotation, @NonNull Package... packages)
annotation
- The annotation to scan forpackages
- The packages to scan@NonNull default Stream<Class<?>> scan(@NonNull Class<? extends Annotation> annotation, @NonNull Package... packages)
annotation
- The annotation to scanpackages
- The packages@NonNull default Stream<Class<?>> scan(@NonNull Class<? extends Annotation> annotation, @NonNull Package pkg)
annotation
- The annotation to scan forpkg
- The package to scan@NonNull default Stream<Class<?>> scan(@NonNull String annotation, @NonNull String... packages)
annotation
- The annotation name to scanpackages
- The package names@NonNull default Stream<Class<?>> scan(@NonNull String annotation, @NonNull Collection<String> packages)
annotation
- The annotation name to scanpackages
- The package names@NonNull default Stream<Class<?>> scan(@NonNull Class<? extends Annotation> annotation, @NonNull Collection<String> packages)
annotation
- The annotation name to scanpackages
- The package names@NonNull default Stream<Class<?>> scan(@NonNull String annotation, @NonNull Stream<String> packages)
annotation
- The annotation name to scanpackages
- The package names