Interface Processor.AdvancedFactory<A extends java.lang.annotation.Annotation,​T>

  • Type Parameters:
    A - annotation type
    T - handled value type
    All Known Subinterfaces:
    Processor.Factory<A,​T>
    Enclosing interface:
    Processor<V>
    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 a Processor. If you don't need access to the other annotations on the field, you can also choose the simpler Processor.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<Tmake​(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 field
        value - declared field type
        container - container holding the field, with its annotations
        Returns:
        new processor
        Since:
        4.0.0