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.

InterTypeDeclarations.aj 579B

123456789101112131415161718192021222324252627282930
  1. public aspect InterTypeDeclarations {
  2. private int I.x = 5;
  3. int I.y = 6;
  4. public int I.z = 7;
  5. private int I.getX() { return this.x; }
  6. int I.getY() { return this.y; }
  7. public int I.getZ() { return this.z; }
  8. private int C.x = 5;
  9. int C.y = 6;
  10. public int C.z = 7;
  11. private int C.getX() { return this.x; }
  12. int C.getY() { return this.y; }
  13. public int C.getZ() { return this.z; }
  14. private C.new(int x) { super(); this.x = x;}
  15. C.new(int x, int y) { this(x); this.y = y; }
  16. public C.new(int x, int y, int z) { this(x,y); this.z = z; }
  17. }
  18. interface I {}
  19. class C {}