You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

F.java 373B

12345678910111213141516171819202122
  1. import java.lang.annotation.*;
  2. public class F {
  3. int f;
  4. public static void main(String []argv) {
  5. }
  6. }
  7. aspect X {
  8. declare @field: @J * F.f: @I;
  9. declare @field: * F.f: @K;
  10. declare @field: @K * F.f: @J;
  11. }
  12. @Retention(RetentionPolicy.RUNTIME)
  13. @interface I {}
  14. @Retention(RetentionPolicy.RUNTIME)
  15. @interface J {}
  16. @Retention(RetentionPolicy.RUNTIME)
  17. @interface K {}