Class BeanIntrospectionScanner

java.lang.Object
io.micronaut.core.io.scan.BeanIntrospectionScanner
All Implemented Interfaces:
AnnotationScanner

@Internal public class BeanIntrospectionScanner extends Object implements 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

      public @NonNull Stream<Class<?>> scan(@NonNull String annotation, @NonNull String pkg)
      Description copied from interface: AnnotationScanner
      Scan the given packages.
      Specified by:
      scan in interface AnnotationScanner
      Parameters:
      annotation - The annotation to scan for
      pkg - The package to scan
      Returns:
      A stream of classes