aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/AfterFancyHelloWorld.txt
blob: bb35ec38ce42a7477b0c8fb792abd1be4c6d69e0 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
public abstract class FancyHelloWorld extends java.lang.Object:
  public void <init>():
                    ALOAD_0     // LFancyHelloWorld; this   (line 7)
                    INVOKESPECIAL java.lang.Object.<init> ()V
    constructor-execution(void FancyHelloWorld.<init>())
    | catch java.lang.Throwable -> E0
    | |             GOTO L0
    | catch java.lang.Throwable -> E0
    |           E0: ASTORE_1
    |               INVOKESTATIC Aspect.ajc_after_constructor_execution ()V
    |               ALOAD_1
    |               ATHROW
    |           L0: INVOKESTATIC Aspect.ajc_after_constructor_execution ()V
    |               RETURN
    |               RETURN
    constructor-execution(void FancyHelloWorld.<init>())
  end public void <init>()

  public static void main(String[]):
    method-execution(void FancyHelloWorld.main(java.lang.String[]))
    | catch java.lang.Throwable -> E6
    | | field-get(java.io.PrintStream java.lang.System.out)
    | | | catch java.lang.Throwable -> E3
    | | | |         GETSTATIC java.lang.System.out Ljava/io/PrintStream;   (line 9)
    | | | catch java.lang.Throwable -> E3
    | | |           GOTO L0
    | | |       E3: ASTORE 5
    | | |           INVOKESTATIC Aspect.ajc_after_field_get ()V
    | | |           ALOAD 5
    | | |           ATHROW
    | | |       L0: NOP
    | | |           INVOKESTATIC Aspect.ajc_after_field_get ()V
    | | |           NOP
    | | field-get(java.io.PrintStream java.lang.System.out)
    | |             ASTORE_1
    | | finally -> E5
    | | | catch java.lang.Exception -> E4
    | | | |         ALOAD_1     // Ljava/io/PrintStream; out   (line 11)
    | | | |         LDC "bye"
    | | | | method-call(void java.io.PrintStream.println(java.lang.String))
    | | | | | catch java.lang.Throwable -> E2
    | | | | | |     INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V
    | | | | | catch java.lang.Throwable -> E2
    | | | | |       GOTO L1
    | | | | |   E2: ASTORE 6
    | | | | |       INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | | | |       ALOAD 6
    | | | | |       ATHROW
    | | | | |   L1: NOP
    | | | | |       INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | | | |       NOP
    | | | | method-call(void java.io.PrintStream.println(java.lang.String))
    | | | |         GOTO L3
    | | | catch java.lang.Exception -> E4
    | | |       E4: ASTORE_2   (line 12)
    | | |           ALOAD_1     // Ljava/io/PrintStream; out   (line 13)
    | | |           ALOAD_2     // Ljava/lang/Exception; e
    | | | method-call(void java.io.PrintStream.println(java.lang.Object))
    | | | | catch java.lang.Throwable -> E1
    | | | | |       INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/Object;)V
    | | | | catch java.lang.Throwable -> E1
    | | | |         GOTO L2
    | | | |     E1: ASTORE 7
    | | | |         INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | | |         ALOAD 7
    | | | |         ATHROW
    | | | |     L2: NOP
    | | | |         INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | | |         NOP
    | | | method-call(void java.io.PrintStream.println(java.lang.Object))
    | | finally -> E5
    | |             GOTO L3
    | |         E5: ASTORE 4   (line 14)
    | |             JSR L4
    | |             ALOAD 4
    | |             ATHROW
    | |         L3: JSR L4
    | |             GOTO L6
    | |         L4: ASTORE_3
    | |             ALOAD_1     // Ljava/io/PrintStream; out   (line 15)
    | |             LDC "finally"
    | | method-call(void java.io.PrintStream.println(java.lang.String))
    | | | catch java.lang.Throwable -> E0
    | | | |         INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V
    | | | catch java.lang.Throwable -> E0
    | | |           GOTO L5
    | | |       E0: ASTORE 8
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           ALOAD 8
    | | |           ATHROW
    | | |       L5: NOP
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           NOP
    | | method-call(void java.io.PrintStream.println(java.lang.String))
    | |             RET 3   (line 10)
    | |         L6: GOTO L7   (line 17)
    | catch java.lang.Throwable -> E6
    |           E6: ASTORE 9
    |               INVOKESTATIC Aspect.ajc_after_method_execution ()V
    |               ALOAD 9
    |               ATHROW
    |           L7: INVOKESTATIC Aspect.ajc_after_method_execution ()V
    |               RETURN
    |               RETURN
    method-execution(void FancyHelloWorld.main(java.lang.String[]))
  end public static void main(String[])

  public static String getName():
    method-execution(java.lang.String FancyHelloWorld.getName())
    | catch java.lang.Throwable -> E4
    | |             ICONST_0   (line 20)
    | |             ISTORE_0
    | |             ILOAD_0     // I x   (line 21)
    | |             LDC "name"
    | | method-call(int java.lang.String.hashCode())
    | | | catch java.lang.Throwable -> E3
    | | | |         INVOKEVIRTUAL java.lang.String.hashCode ()I
    | | | catch java.lang.Throwable -> E3
    | | |           GOTO L0
    | | |       E3: ASTORE_1
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           ALOAD_1
    | | |           ATHROW
    | | |       L0: NOP
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           NOP
    | | method-call(int java.lang.String.hashCode())
    | |             IADD
    | |             ISTORE_0     // I x
    | |             LDC "name"   (line 22)
    | |             ASTORE_2
    | | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
    | | | catch java.lang.Throwable -> E2
    | | | |         NEW java.lang.StringBuffer
    | | | |         DUP
    | | | |         ALOAD_2
    | | | |         INVOKESPECIAL java.lang.StringBuffer.<init> (Ljava/lang/String;)V
    | | | catch java.lang.Throwable -> E2
    | | |           GOTO L1
    | | |       E2: ASTORE_3
    | | |           INVOKESTATIC Aspect.ajc_after_constructor_call ()V
    | | |           ALOAD_3
    | | |           ATHROW
    | | |       L1: NOP
    | | |           INVOKESTATIC Aspect.ajc_after_constructor_call ()V
    | | |           NOP
    | | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
    | |             ILOAD_0     // I x
    | | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(int))
    | | | catch java.lang.Throwable -> E1
    | | | |         INVOKEVIRTUAL java.lang.StringBuffer.append (I)Ljava/lang/StringBuffer;
    | | | catch java.lang.Throwable -> E1
    | | |           GOTO L2
    | | |       E1: ASTORE 4
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           ALOAD 4
    | | |           ATHROW
    | | |       L2: NOP
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           NOP
    | | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(int))
    | | method-call(java.lang.String java.lang.StringBuffer.toString())
    | | | catch java.lang.Throwable -> E0
    | | | |         INVOKEVIRTUAL java.lang.StringBuffer.toString ()Ljava/lang/String;
    | | | catch java.lang.Throwable -> E0
    | | |           GOTO L3
    | | |       E0: ASTORE 5
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           ALOAD 5
    | | |           ATHROW
    | | |       L3: NOP
    | | |           INVOKESTATIC Aspect.ajc_after_method_call ()V
    | | |           NOP
    | | method-call(java.lang.String java.lang.StringBuffer.toString())
    | |             ASTORE 7
    | |             GOTO L4
    | catch java.lang.Throwable -> E4
    |           E4: ASTORE 6
    |               INVOKESTATIC Aspect.ajc_after_method_execution ()V
    |               ALOAD 6
    |               ATHROW
    |           L4: INVOKESTATIC Aspect.ajc_after_method_execution ()V
    |               ALOAD 7
    |               ARETURN
    method-execution(java.lang.String FancyHelloWorld.getName())
  end public static String getName()

end public abstract class FancyHelloWorld