mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
17 lines
264 B
Java
17 lines
264 B
Java
|
|
public class Messages {
|
|
public static void main (String[] args) {
|
|
new C().run();
|
|
}
|
|
}
|
|
|
|
class C {
|
|
void run() {
|
|
}
|
|
}
|
|
|
|
aspect A {
|
|
pointcut f() : receptions(void C.run()); // ME 14
|
|
around() returns void : f() { } // ME 15
|
|
}
|