public class AtlassianSpringByteCodeScanner
extends org.reflections.scanners.AbstractScanner
Component,
Named etc..
This scanner will be passed every class file in the build directory and it will examine it for Annotations of interest.
This class uses a mix of the higher level Reflections code to get class information and also uses the lower level Javassist byte code helpers to get the rest of the information. We prefer the former but end up having to use the latter to get the job done.
| Modifier and Type | Class and Description |
|---|---|
static class |
AtlassianSpringByteCodeScanner.AnnotationReferences
Mantains a collection of annotated component names, and for each annotation,
the locations where the annotation was found.
|
static class |
AtlassianSpringByteCodeScanner.AnnotationValidator |
static class |
AtlassianSpringByteCodeScanner.Errors |
static class |
AtlassianSpringByteCodeScanner.Stats |
| Constructor and Description |
|---|
AtlassianSpringByteCodeScanner(ByteCodeScannerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
AtlassianSpringByteCodeScanner.Errors |
getErrors() |
AtlassianSpringByteCodeScanner.Stats |
getStats() |
void |
scan(Object cls) |
public AtlassianSpringByteCodeScanner(ByteCodeScannerConfiguration configuration)
public AtlassianSpringByteCodeScanner.Stats getStats()
public AtlassianSpringByteCodeScanner.Errors getErrors()
public void scan(Object cls)
scan in class org.reflections.scanners.AbstractScannerCopyright © 2019 Atlassian. All rights reserved.