@Module public interface ScanListener
Modifier and Type | Method and Description |
---|---|
void |
classMatchEvent(EnvironmentClassLoader loader,
Path root,
java.lang.String className)
Callback to note the class matches
|
int |
getScanPriority()
Returns the listener's priority.
|
boolean |
isRootScannable(Path root,
java.lang.String packageRoot)
Called to check if the archive should be scanned.
|
boolean |
isScanMatchAnnotation(CharBuffer string)
Returns true if the string matches an annotation class.
|
ScanClass |
scanClass(Path root,
java.lang.String packageRoot,
java.lang.String name,
int modifiers)
Returns the state when scanning the class
|
int getScanPriority()
boolean isRootScannable(Path root, java.lang.String packageRoot)
ScanClass scanClass(Path root, java.lang.String packageRoot, java.lang.String name, int modifiers)
root
- the module/jar's root pathpackageRoot
- the virtual package root (usually for Testing)name
- the class namemodifiers
- the class modifiersboolean isScanMatchAnnotation(CharBuffer string)
void classMatchEvent(EnvironmentClassLoader loader, Path root, java.lang.String className)