mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 02:10:40 +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
|
||
|
}
|