public static AnnotatedJacksonModule with(Class<? extends Annotation> clientBindingAnnotation) {
    if (clientBindingAnnotation == null) {
      throw new NullPointerException("clientBindingAnnotation:null");
    }

    BindingAnnotations.checkIsBindingAnnotation(clientBindingAnnotation);

    return new AnnotatedJacksonModule(clientBindingAnnotation);
  }
public static AnnotatedJacksonModule with ( Class < ? extends Annotation > clientBindingAnnotation ) { if ( clientBindingAnnotation == null ) { throw new NullPointerException ( "clientBindingAnnotation:null" ) ; } BindingAnnotations . checkIsBindingAnnotation ( clientBindingAnnotation ) ; return new AnnotatedJacksonModule ( clientBindingAnnotation ) ; }
A static method to create an instance of {@link AnnotatedJacksonModule}.

@param clientBindingAnnotation a {@link BindingAnnotation} to which the {@link ObjectMapper}
need to be annotated with.

@return an instance of {@link AnnotatedJacksonModule}