Class BindingContext


  • public class BindingContext
    extends java.lang.Object
    While traversing the tree of interfaces defining the configuration, this represents a state at a given node. It is an aggregated state over all the parent nodes, usually considering the annotations up to a node.
    • Constructor Detail

      • BindingContext

        public BindingContext()
    • Method Detail

      • getForcedMapperFactory

        public java.util.Optional<ValueMapperFactory> getForcedMapperFactory()
      • getFactoryConfigFor

        public java.util.Optional<java.lang.annotation.Annotation> getFactoryConfigFor​(java.lang.Class<? extends ValueMapperFactory> forClass)
      • withFactoryConfigFor

        protected BindingContext withFactoryConfigFor​(java.lang.Class<? extends ValueMapperFactory> forClass,
                                                      java.lang.annotation.Annotation declaringAnnotation)
      • settingsFor

        public BindingContext settingsFor​(java.lang.reflect.AnnotatedElement element,
                                          boolean forced)