org.aspectj/tests/bugs150/pr71159/pkg2/ITDInDiffPackage.aj

17 行
246 B
Plaintext
Raw 通常表示 履歴

package pkg2;
import pkg1.*;
public aspect ITDInDiffPackage {
void B.foo() {}
void bar() {
C c = new C();
c.foo();
}
declare warning : call(* B.foo()) : "should not match";
declare warning : call(* C.foo()) : "should match";
}