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.

ITDInDiffPackage.aj 246B

1234567891011121314151617
  1. package pkg2;
  2. import pkg1.*;
  3. public aspect ITDInDiffPackage {
  4. void B.foo() {}
  5. void bar() {
  6. C c = new C();
  7. c.foo();
  8. }
  9. declare warning : call(* B.foo()) : "should not match";
  10. declare warning : call(* C.foo()) : "should match";
  11. }