final class DSAnnotationReader.ComponentPropertyTypeDataCollector extends ClassDataCollector
| Modifier and Type | Field and Description |
|---|---|
private DeclarativeServicesAnnotationError |
details |
private boolean |
hasMethods |
private int |
hasNoDefault |
private boolean |
hasValue |
private java.lang.String |
memberDescriptor |
private Clazz.FieldDef |
prefixField |
private PropertyDef |
propertyDef |
private java.lang.String |
propertyDefKey |
private Descriptors.TypeRef |
typeRef |
| Constructor and Description |
|---|
ComponentPropertyTypeDataCollector(java.lang.String propertyDefKey,
Annotation componentPropertyAnnotation,
DeclarativeServicesAnnotationError details) |
ComponentPropertyTypeDataCollector(java.lang.String propertyDefKey,
java.lang.String memberDescriptor,
DeclarativeServicesAnnotationError details) |
| Modifier and Type | Method and Description |
|---|---|
void |
annotationDefault(Clazz.MethodDef defined,
java.lang.Object value) |
void |
classBegin(int access,
Descriptors.TypeRef name) |
void |
classEnd() |
void |
field(Clazz.FieldDef defined) |
private void |
handleValue(java.lang.String name,
java.lang.Object value,
boolean isClass,
java.lang.Class<?> typeClass)
This method relies on
ConcreteRef#toString() returning
Descriptors.TypeRef.getFQN() |
private java.lang.String |
identifierToPropertyName(java.lang.String name) |
void |
method(Clazz.MethodDef defined) |
private java.lang.String |
valueType(java.lang.Class<?> typeClass,
java.lang.Object value,
boolean isClass) |
addReference, annotation, annotationDefault, classStart, classStart, constant, deprecated, enclosingMethod, extendsClass, implementsInterfaces, innerClass, memberEnd, methodParameters, parameter, referenceMethod, referTo, signature, typeuse, versionprivate final java.lang.String propertyDefKey
private final java.lang.String memberDescriptor
private final DeclarativeServicesAnnotationError details
private final PropertyDef propertyDef
private int hasNoDefault
private boolean hasValue
private boolean hasMethods
private Clazz.FieldDef prefixField
private Descriptors.TypeRef typeRef
ComponentPropertyTypeDataCollector(java.lang.String propertyDefKey,
java.lang.String memberDescriptor,
DeclarativeServicesAnnotationError details)
ComponentPropertyTypeDataCollector(java.lang.String propertyDefKey,
Annotation componentPropertyAnnotation,
DeclarativeServicesAnnotationError details)
public void classBegin(int access,
Descriptors.TypeRef name)
classBegin in class ClassDataCollectorpublic void field(Clazz.FieldDef defined)
field in class ClassDataCollectorpublic void method(Clazz.MethodDef defined)
method in class ClassDataCollectorpublic void annotationDefault(Clazz.MethodDef defined, java.lang.Object value)
annotationDefault in class ClassDataCollectorpublic void classEnd()
throws java.lang.Exception
classEnd in class ClassDataCollectorjava.lang.Exceptionprivate void handleValue(java.lang.String name,
java.lang.Object value,
boolean isClass,
java.lang.Class<?> typeClass)
ConcreteRef#toString() returning
Descriptors.TypeRef.getFQN()private java.lang.String valueType(java.lang.Class<?> typeClass,
java.lang.Object value,
boolean isClass)
private java.lang.String identifierToPropertyName(java.lang.String name)