aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/Id2HelloWorld.txt
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-12-16 10:41:15 +0000
committeracolyer <acolyer>2004-12-16 10:41:15 +0000
commitded1a744fc4a518275dbb4fcfa219939ae48ad11 (patch)
tree3a694a4c6e81a32369d774451c06bc61d3d9e837 /weaver/testdata/Id2HelloWorld.txt
parent113a3687c8f338fdedfacbe9cea171a44f16ca75 (diff)
downloadaspectj-ded1a744fc4a518275dbb4fcfa219939ae48ad11.tar.gz
aspectj-ded1a744fc4a518275dbb4fcfa219939ae48ad11.zip
payback time for all the "kinding" work - only ever generate and match
against shadows that we know might be matched.
Diffstat (limited to 'weaver/testdata/Id2HelloWorld.txt')
-rw-r--r--weaver/testdata/Id2HelloWorld.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/weaver/testdata/Id2HelloWorld.txt b/weaver/testdata/Id2HelloWorld.txt
new file mode 100644
index 000000000..121366ef7
--- /dev/null
+++ b/weaver/testdata/Id2HelloWorld.txt
@@ -0,0 +1,23 @@
+public class HelloWorld extends java.lang.Object:
+ public void <init>():
+ ALOAD_0 // HelloWorld this (line 5)
+ INVOKESPECIAL java.lang.Object.<init> ()V
+ constructor-execution(void HelloWorld.<init>())
+ | RETURN
+ constructor-execution(void HelloWorld.<init>())
+ end public void <init>()
+
+ public static void main(String[]):
+ method-execution(void HelloWorld.main(java.lang.String[]))
+ | field-get(java.io.PrintStream java.lang.System.out)
+ | | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 8)
+ | field-get(java.io.PrintStream java.lang.System.out)
+ | LDC "hello world" (line 9)
+ | 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))
+ | RETURN (line 11)
+ method-execution(void HelloWorld.main(java.lang.String[]))
+ end public static void main(String[])
+
+end public class HelloWorld