public class PropertiesAnnotationProcessor extends AbstractAnnotationProcessor<Properties>
| Constructor and Description |
|---|
PropertiesAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
processAnnotation(Properties propertiesAnnotation,
Field field)
Process an annotation of type T.
|
missingAttributeValue, rejectIfEmptypublic Object processAnnotation(Properties propertiesAnnotation, Field field) throws AnnotationProcessingException
AnnotationProcessorpropertiesAnnotation - the annotation to process.field - the target fieldnull if the value should be ignoredAnnotationProcessingException - thrown if an exception occurs during annotation processingCopyright © 2020. All rights reserved.