mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-02 17:55:19 +02:00
15 lines
194 B
Plaintext
15 lines
194 B
Plaintext
public interface PointcutsInInterfaces {
|
|
|
|
public pointcut foo() : execution(* *(..));
|
|
|
|
}
|
|
|
|
class C {
|
|
void foo() {}
|
|
}
|
|
|
|
aspect A {
|
|
|
|
declare warning : PointcutsInInterfaces.foo() : "aha!";
|
|
|
|
} |