Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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 {}