| Modifier and Type | Method and Description |
|---|---|
private ComponentContainer |
SCRDescriptorGenerator.createComponent(ClassDescription desc,
IssueLog iLog)
Create the SCR objects based on the descriptions
|
private void |
SCRDescriptorGenerator.processGlobalProperties(ClassDescription desc,
java.util.Map<java.lang.String,PropertyDescription> allProperties)
Add global properties (if not already defined in the component)
|
private void |
SCRDescriptorGenerator.processProperties(ClassDescription current,
ComponentContainer component,
MetatypeContainer ocd)
Process property directives
|
private void |
SCRDescriptorGenerator.processReferences(ClassDescription current,
ComponentContainer component)
Process reference directives
|
private void |
SCRDescriptorGenerator.processServices(ClassDescription current,
ComponentContainer component)
Process service directives
|
private boolean |
SCRDescriptorGenerator.testProperty(ClassDescription current,
java.util.Map<java.lang.String,PropertyDescription> allProperties,
PropertyDescription newProperty,
boolean isInspectedClass)
Test a newly found property
|
private void |
SCRDescriptorGenerator.testReference(ClassDescription current,
java.util.Map<java.lang.String,ReferenceDescription> allReferences,
ReferenceDescription newReference,
boolean isInspectedClass)
Test a newly found reference
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationProcessor.process(ScannedClass scannedClass,
ClassDescription describedClass)
Processes annotations from the provided scanned class and adds
descriptions to the object model based on the read annotations.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescription |
ClassDescription.clone() |
| Modifier and Type | Field and Description |
|---|---|
private ClassDescription |
ComponentContainer.classDescription
The class description.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,ClassDescription> |
ClassScanner.allDescriptions
All used component descriptions.
|
private java.util.Map<java.lang.String,ClassDescription> |
ClassScanner.loadedDependencies
Component descriptions loaded from dependencies
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescription |
ComponentContainer.getClassDescription()
Get the class description
|
ClassDescription |
ClassScanner.getDescription(java.lang.Class<?> clazz)
Get a description for the class
|
private ClassDescription |
ClassScanner.processClass(java.lang.Class<?> annotatedClass,
java.lang.String location)
Scan a single class.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.Map<java.lang.String,ClassDescription> |
ClassScanner.getComponentDescriptors()
Returns a map of component descriptors which may be extended by the java
sources.
|
java.util.List<ClassDescription> |
ClassScanner.scanSources()
Scan all source class files for annotations and process them.
|
| Modifier and Type | Method and Description |
|---|---|
static Validator.MethodResult |
Validator.findMethod(Project project,
Options options,
ClassDescription cd,
ReferenceDescription ref,
java.lang.String methodName)
Find the method and the required spec version
|
private static java.lang.reflect.Method |
Validator.getMethod(ClassDescription cd,
java.lang.String name,
java.lang.Class<?>[] sig) |
void |
AnnotationProcessorManager.process(ScannedClass scannedClass,
ClassDescription describedClass) |
| Modifier and Type | Method and Description |
|---|---|
private void |
ClassScanner.process(java.lang.Class<?> annotatedClass,
Source src,
java.util.List<ClassDescription> result)
Process a class
|
| Constructor and Description |
|---|
ComponentContainer(ClassDescription classDescription,
ComponentDescription componentDescription)
Create a new component container
|
| Modifier and Type | Field and Description |
|---|---|
private ClassDescription |
ComponentDescriptorIO.XmlHandler.currentClass
A reference to the current class.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ClassDescription> |
ComponentDescriptorIO.XmlHandler.components
The components container.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ClassDescription> |
ComponentDescriptorIO.read(java.io.InputStream file,
java.lang.ClassLoader classLoader,
IssueLog iLog,
java.lang.String location) |