Home | History | Annotate | Download | only in foo
      1 package annotations.tests.classfile.foo;
      2 
      3 import java.lang.annotation.*;
      4 
      5 @Retention(RetentionPolicy.RUNTIME)
      6 @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE_USE)
      7 public @interface G {
      8   int fieldA();
      9   String fieldB();
     10   boolean[] fieldC();
     11   /*@D(fieldA=1, fieldB="value from annotation @G", fieldC={3,2})*/ int fieldD();
     12   /*@D(fieldA=2,fieldB="value from annotation @G",fieldC={3,2})*/ int fieldE();
     13 }
     14