Interface Processor.AdvancedFactory<A extends java.lang.annotation.Annotation,T>
-
- Type Parameters:
A- annotation typeT- handled value type
- All Known Subinterfaces:
Processor.Factory<A,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Processor.AdvancedFactory<A extends java.lang.annotation.Annotation,T>
Provider to, given an annotation instance and the type it's on, create aProcessor. If you don't need access to the other annotations on the field, you can also choose the simplerProcessor.Factory.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Processor<T>make(A data, java.lang.reflect.Type value, java.lang.reflect.AnnotatedElement container)Create a new processor given the annotation and data type.
-
-
-
Method Detail
-
make
Processor<T> make(A data, java.lang.reflect.Type value, java.lang.reflect.AnnotatedElement container)
Create a new processor given the annotation and data type.- Parameters:
data- annotation type on record fieldvalue- declared field typecontainer- container holding the field, with its annotations- Returns:
- new processor
- Since:
- 4.0.0
-
-