Interface AnnotationProcessor<T extends Annotation>

    • Method Detail

      • processAnnotation

        Object processAnnotation​(T annotation,
                                 Field field)
                          throws AnnotationProcessingException
        Process an annotation of type T.
        Parameters:
        annotation - the annotation to process.
        field - the target field
        Returns:
        Return the object to set in the annotated field or null if the value should be ignored
        Throws:
        AnnotationProcessingException - thrown if an exception occurs during annotation processing