選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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