Package io.micronaut.core.io.scan
Class BeanIntrospectionScanner
java.lang.Object
io.micronaut.core.io.scan.BeanIntrospectionScanner
- All Implemented Interfaces:
AnnotationScanner
An implementation of
AnnotationScanner
that scans available BeanIntrospection
instances through the BeanIntrospector
API.- Since:
- 3.0.0
- Author:
- graemerocher
-
Constructor Details
-
BeanIntrospectionScanner
public BeanIntrospectionScanner()
-
-
Method Details
-
scan
@NonNull public @NonNull Stream<Class<?>> scan(@NonNull @NonNull String annotation, @NonNull @NonNull String pkg) Description copied from interface:AnnotationScanner
Scan the given packages.- Specified by:
scan
in interfaceAnnotationScanner
- Parameters:
annotation
- The annotation to scan forpkg
- The package to scan- Returns:
- A stream of classes
-