aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/Id2HelloWorld.txt
diff options
context:
space:
mode:
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