aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/Id2HelloWorld.txt
blob: 121366ef7f59bff48388dee5f66fcc9d917998a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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