title: @JsonSerialize and @JsonDeserialize not working when included in an annotation
body: <p>I am trying to create a custom annotation to tokenize a given property always when it is annotated with, so I have the following structure:</p>
  
  <pre><code>@JsonComponent
  public class TokenSerializer {
  
      @JsonSerialize(using = IdToTokenSerializer.class) // This does not work 
      @JsonDeserialize(using = TokenToIdDeserializer.class) // This does not work 
      @Retention(RetentionPolicy.RUNTIME)
      public static @interface TokenizedId {
          Class&lt;?&gt; value();
      }
  
      public static class IdToTokenSerializer extends JsonSerializer&lt;Long&gt; implements ContextualSerializer {
          ...
      }
  
      public static class TokenToIdDeserializer extends JsonDeserializer&lt;Long&gt; implements ContextualDeserializer {
          ...
      }
  }
  </code></pre>
  
  <p><strong>Why am I using like that?</strong> Because the <code>@TokenizedId</code> will provide a class, which conditionally will be considered on the serializer/deserializer to do something. This value is configured using the <code>ContextualDeserializer</code>, fetching the class from <code>@TokenizedId</code>.</p>
  
  <p>The issue is, both serializer and deserializer do not work when I annotate just like this:</p>
  
  <pre><code>@TokenizedId(MyClass.class)
  private Long id;
  </code></pre>
  
  <p>But they work when I use like this (removing the <code>@JsonSerialize</code> and <code>@JsonDeserialize</code> from <code>@TokenizedId</code>):</p>
  
  <pre><code>@JsonSerialize(using = IdToTokenSerializer.class)
  @JsonDeserialize(using = TokenToIdDeserializer.class)
  @TokenizedId(MyClass.class)
  private Long id;
  </code></pre>
  
  <p>Personally I did not like this approach, since developers will need to always remember to use these three annotations when they would like to tokenize some id, and also I would like the <code>@TokenizedId</code> always be related to these serializers.</p>
  
  <p>Is there a way to make the serializer/deserializer work when annotated on another annotation?</p>