Class PropertyAnnotationProcessor

    • Constructor Detail

      • PropertyAnnotationProcessor

        public PropertyAnnotationProcessor()
    • Method Detail

      • processAnnotation

        public Object processAnnotation​(Property property,
                                        Field field)
                                 throws AnnotationProcessingException
        Description copied from interface: AnnotationProcessor
        Process an annotation of type T.
        Parameters:
        property - 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