code: public static void setObjectWriterInjector(Provider<ObjectProvider<FilterProvider>> provider,
                                                 final Type genericType,
                                                 final Annotation[] annotations) throws IOException {
          final FilterProvider filterProvider = provider.get().getFilteringObject(genericType, true, annotations);
          if (filterProvider != null) {
              ObjectWriterInjector.set(new FilteringObjectWriterModifier(filterProvider, ObjectWriterInjector.getAndClear()));
          }
      }
docs: <p>setObjectWriterInjector.</p>
  
  @param provider    a {@link javax.inject.Provider} object.
  @param genericType a {@link java.lang.reflect.Type} object.
  @param annotations an array of {@link java.lang.annotation.Annotation} objects.
  @throws java.io.IOException if any.