title: Is there a way to specify @JsonTypeIdResolver on mapper config instead of annotation?
body: <p>Is there a way to specify @JsonTypeIdResolver on mapper config instead of annotating the target class ?
  example, instead of :</p>
  
  <pre><code>@JsonTypeInfo(  
      use = JsonTypeInfo.Id.CUSTOM,  
      include = JsonTypeInfo.As.PROPERTY,  
      property = "@type") 
  @JsonTypeIdResolver(FooTypeIdResolver.class)        
  public class Foo {
  
  }
  </code></pre>
  
  <p>Only have</p>
  
  <pre><code>@JsonTypeInfo(  
      use = JsonTypeInfo.Id.CUSTOM,  
      include = JsonTypeInfo.As.PROPERTY,  
      property = "@type") 
  public class Foo {
  
  }
  </code></pre>
  
  <p>And do something like the following on the mapper</p>
  
  <pre><code>mapper.getSerializationConfig()
  .with(new JacksonAnnotationIntrospector())
  .without(SerializationFeature.INDENT_OUTPUT);
  ...
  // something like this :
  .addTypeIdResolver(Foo.class, FooTypeIdResolver.class)
  </code></pre>
  
  <p>I am asking this because the FooTypeIdResolver is on a different "library" which the Foo library cannot depend on...</p>