|
1234567891011121314151617181920212223242526 |
-
- public class Foo2 {
- 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;
- String s = "hello";
- try {
- String s2 = "hello2";
- System.out.println(s2);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- public static void main(String[] args) {
- new Foo2().foo(null);
- }
- }
-
- class Bar {}
-
- aspect FooAspect {
- before(): execution(* *(..)) {}
- }
|