title: Create generic array as static field
body: <p>This doesn't compile:</p>
  
  <pre><code>  public static Class&lt;? extends Annotation&gt;[] annots = {
      NotNull.class,
      ColumnType.class,
      RuntimeType.class,
      DefaultValue.class
    };
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Generic array creation</p>
  </blockquote>
  
  <p>Note that the above classes are Annotations declared like so:</p>
  
  <pre><code>  @Retention(RetentionPolicy.RUNTIME)
    public @interface NotNull {
      boolean value() default false;
    }
  
    @Retention(RetentionPolicy.RUNTIME)
    public @interface ColumnType {
      Class&lt;?&gt; value();
    }
  </code></pre>
  
  <p>does anyone know how I can create a generic array?</p>