A - the type of annotations processedC - the type of builders configuredpublic interface SettingAnnotationProcessor<A extends java.lang.annotation.Annotation,C>
Annotations made for this type of processor should
specifically target ElementType.FIELD.
AnnotatedSettings| Modifier and Type | Interface and Description |
|---|---|
static interface |
SettingAnnotationProcessor.Group<A extends java.lang.annotation.Annotation>
An annotation processor for config fields representing config groups.
|
static interface |
SettingAnnotationProcessor.Value<A extends java.lang.annotation.Annotation>
An annotation processor for config fields holding values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(A annotation,
java.lang.reflect.Field field,
java.lang.Object pojo,
C setting)
Called for every field that has an annotation of type
A. |
void apply(A annotation, java.lang.reflect.Field field, java.lang.Object pojo, C setting)
A.annotation - the annotation present on the fieldfield - a field declared in pojo's classpojo - the plain old java object being processedsetting - the builder being configuredAnnotatedSettings.applyToNode(ConfigTree, Object)