aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt
diff options
context:
space:
mode:
authorwisberg <wisberg>2002-12-16 17:58:19 +0000
committerwisberg <wisberg>2002-12-16 17:58:19 +0000
commitd842c4f1139629c1f062b74ba818d233b2c31043 (patch)
tree842d3871620bc0eb60edcd95e55804d67e0f61fa /weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt
parent3ce247199704eae6b2c92c6e38c69584e3250c52 (diff)
downloadaspectj-d842c4f1139629c1f062b74ba818d233b2c31043.tar.gz
aspectj-d842c4f1139629c1f062b74ba818d233b2c31043.zip
initial version
Diffstat (limited to 'weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt')
-rw-r--r--weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt86
1 files changed, 86 insertions, 0 deletions
diff --git a/weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt b/weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt
new file mode 100644
index 000000000..868a63429
--- /dev/null
+++ b/weaver/testdata/AfterReturningCheckcastParamFancyHelloWorld.txt
@@ -0,0 +1,86 @@
+public abstract class FancyHelloWorld extends java.lang.Object:
+ public void <init>():
+ ALOAD_0 // FancyHelloWorld this (line 7)
+ INVOKESPECIAL java.lang.Object.<init> ()V
+ constructor-execution(void FancyHelloWorld.<init>())
+ | RETURN
+ constructor-execution(void FancyHelloWorld.<init>())
+ end public void <init>()
+
+ public static void main(String[]):
+ method-execution(void FancyHelloWorld.main(java.lang.String[]))
+ | field-get(java.io.PrintStream java.lang.System.out)
+ | | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 9)
+ | | DUP
+ | | ASTORE 5
+ | | ALOAD 5
+ | | INSTANCEOF java.rmi.server.LogStream
+ | | IFEQ L0
+ | | ALOAD 5
+ | | CHECKCAST java.rmi.server.LogStream
+ | | INVOKESTATIC Aspect.ajc_afterReturning_field_get (Ljava/rmi/server/LogStream;)V
+ | | L0: NOP
+ | field-get(java.io.PrintStream java.lang.System.out)
+ | ASTORE_1
+ | finally -> E1
+ | | catch java.lang.Exception -> E0
+ | | | ALOAD_1 // java.io.PrintStream out (line 11)
+ | | | LDC "bye"
+ | | | method-call(void java.io.PrintStream.println(java.lang.String))
+ | | | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V
+ | | | method-call(void java.io.PrintStream.println(java.lang.String))
+ | | | GOTO L1
+ | | catch java.lang.Exception -> E0
+ | | E0: ASTORE_2 (line 12)
+ | | ALOAD_1 // java.io.PrintStream out (line 13)
+ | | ALOAD_2 // java.lang.Exception e
+ | | method-call(void java.io.PrintStream.println(java.lang.Object))
+ | | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/Object;)V
+ | | method-call(void java.io.PrintStream.println(java.lang.Object))
+ | finally -> E1
+ | GOTO L1
+ | E1: ASTORE 4 (line 14)
+ | JSR L2
+ | ALOAD 4
+ | ATHROW
+ | L1: JSR L2
+ | GOTO L3
+ | L2: ASTORE_3
+ | ALOAD_1 // java.io.PrintStream out (line 15)
+ | LDC "finally"
+ | method-call(void java.io.PrintStream.println(java.lang.String))
+ | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V
+ | method-call(void java.io.PrintStream.println(java.lang.String))
+ | RET 3 (line 10)
+ | L3: RETURN (line 17)
+ 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())
+ | ICONST_0 (line 20)
+ | ISTORE_0
+ | ILOAD_0 // int x (line 21)
+ | LDC "name"
+ | method-call(int java.lang.String.hashCode())
+ | | INVOKEVIRTUAL java.lang.String.hashCode ()I
+ | method-call(int java.lang.String.hashCode())
+ | IADD
+ | ISTORE_0 // int x
+ | NEW java.lang.StringBuffer (line 22)
+ | DUP
+ | LDC "name"
+ | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
+ | | INVOKESPECIAL java.lang.StringBuffer.<init> (Ljava/lang/String;)V
+ | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
+ | ILOAD_0 // int x
+ | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(int))
+ | | INVOKEVIRTUAL java.lang.StringBuffer.append (I)Ljava/lang/StringBuffer;
+ | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(int))
+ | method-call(java.lang.String java.lang.StringBuffer.toString())
+ | | INVOKEVIRTUAL java.lang.StringBuffer.toString ()Ljava/lang/String;
+ | method-call(java.lang.String java.lang.StringBuffer.toString())
+ | ARETURN
+ method-execution(java.lang.String FancyHelloWorld.getName())
+ end public static String getName()
+end public abstract class FancyHelloWorld