org.aspectj/tests/bugs150/PointcutsInInterfaces.aj
2005-08-25 12:52:12 +00:00

15 rindas
194 B
Plaintext

public interface PointcutsInInterfaces {
public pointcut foo() : execution(* *(..));
}
class C {
void foo() {}
}
aspect A {
declare warning : PointcutsInInterfaces.foo() : "aha!";
}