blob: 72a1eab896348d1e07ba6d1b095ff1411c9b94ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public aspect Test {
Object around(String s): call(public Object foo(String)) && args(s) {
return proceed(s);
}
}
class C {
public void m() {
foo("abc");
}
public Object foo(String s) {
return s;
}
}
|