title: How to combine multiple annotations to single one?
body: <p>I have two annotations from a framework. Often I use those two annotations both on the same field. Thus I'm trying to create a "combined" annotation that contains that both two.</p>
  
  <p>But I don't know if it is possible at all:</p>
  
  <p><strong>The existing annotations</strong> (that I have no control of):</p>
  
  <pre><code>@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
  @Retention(RetentionPolicy.RUNTIME)
  public @interface ApiParam {
      String name() default "";
  }
  
  @Target({ElementType.METHOD, ElementType.FIELD})
  @Retention(RetentionPolicy.RUNTIME)
  public @interface ApiModelProperty {
      String name() default "";
  }
  </code></pre>
  
  <p><strong>My Custom annotation</strong> that I'm trying to create:</p>
  
  <pre><code>@Retention(RetentionPolicy.RUNTIME)
  @Target(ElementType.ANNOTATION_TYPE)
  @ApiParam
  @ApiModelProperty
  public @interface SwaggerParam {
       String name() default "";
  }
  </code></pre>
  
  <p><strong>Result:</strong> the annotations are <em>not applicable to annotation type</em>.</p>
  
  <p><strong>Question:</strong> Is there any chance?</p>