org.aspectj/tests/bugs150/PointcutsInInterfaces.aj

15 lines
194 B
Plaintext
Raw Normal View History

2005-08-25 14:52:12 +02:00
public interface PointcutsInInterfaces {
public pointcut foo() : execution(* *(..));
}
class C {
void foo() {}
}
aspect A {
declare warning : PointcutsInInterfaces.foo() : "aha!";
}