public interface AnnotationScanner
An annotation scanner is able to detect in the classpath types annotated with an annotation provided
by processors
.
Modifier and Type | Method and Description |
---|---|
void |
scan(String basePackage,
AnnotationProcessor... processors)
Scan the given base package to detect any type asked by the specified
processors . |
void scan(String basePackage, AnnotationProcessor... processors)
Scan the given base package to detect any type asked by the specified processors
.
basePackage
- the base package to scanprocessors
- the processors to get notified of type detected and match required annotationCopyright © 2012-2015. All Rights Reserved.