T - The annotation type.public interface AnnotationProcessor<T extends Annotation>
| Modifier and Type | Method and Description |
|---|---|
Object |
processAnnotation(T annotation,
Field field)
Process an annotation of type T.
|
Object processAnnotation(T annotation, Field field) throws AnnotationProcessingException
annotation - 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.