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.

ITDScope.aj 291B

123456789101112131415161718
  1. class C {
  2. static int static_c = 0;
  3. int c = 0;
  4. }
  5. aspect A {
  6. static int static_a = 0;
  7. int a = 0;
  8. private void C.itdFromA() {
  9. c = 1; // ok
  10. static_c = 1; // not ok - use C.static_c;
  11. static_a = 1; // ok
  12. a = 1; // not ok
  13. }
  14. }