Class FieldBuilder.AnnotationApplier<A extends Annotation,​F extends AbstractField<?>>

  • Enclosing class:
    FieldBuilder

    protected abstract static class FieldBuilder.AnnotationApplier<A extends Annotation,​F extends AbstractField<?>>
    extends Object
    Class that knows how to apply annotation properties to a corresponding field.
    • Constructor Detail

      • AnnotationApplier

        protected AnnotationApplier​(Method method,
                                    A annotation,
                                    Class<F> fieldType)
    • Method Detail

      • getMethod

        public final Method getMethod()
      • getAnnotation

        public final A getAnnotation()
      • getFieldType

        public final Class<F> getFieldType()
      • getActualFieldType

        public abstract Class<? extends F> getActualFieldType()
      • applyTo

        public abstract void applyTo​(F field)