aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/BeforeHelloWorld.txt
blob: d89b5acd97af4cf4d6d1d812f22c8f413f2ead6b (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
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>())
    |               INVOKESTATIC Aspect.ajc_before_constructor_execution ()V
    |               RETURN
    constructor-execution(void HelloWorld.<init>())
  end public void <init>()

  public static void main(String[]):
    method-execution(void HelloWorld.main(java.lang.String[]))
    |               INVOKESTATIC Aspect.ajc_before_method_execution ()V
    | field-get(java.io.PrintStream java.lang.System.out)
    | |             INVOKESTATIC Aspect.ajc_before_field_get ()V
    | |             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))
    | |             INVOKESTATIC Aspect.ajc_before_method_call ()V
    | |             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