blob: 017d3862f3cecdd4149f8f3f076626c7048cffdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
public class Foo3 {
int i=3;
// Need local variable table for this code to be OK and not lose the fact that this/etc are setup from
// instruction 0 to the end of the method
void foo(Bar bar) {
i = 33;
try {
System.out.println("x");
} catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
new Foo3().foo(null);
}
}
class Bar {}
aspect FooAspect {
before(): execution(* *(..)) {}
before(): execution(* *(..)) {}
}
|