aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/FieldSet.txt
blob: f5704a576711b8c2787b48fad8647364f721fa9f (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
public class FieldyHelloWorld extends java.lang.Object:
  public static String str
  static void <clinit>():
    staticinitialization(void FieldyHelloWorld.<clinit>())
    |               LDC "Hello"   (line 3)
    |               PUTSTATIC FieldyHelloWorld.str Ljava/lang/String;
    |               RETURN   (line 1)
    staticinitialization(void FieldyHelloWorld.<clinit>())
  end static void <clinit>()

  public void <init>():
                    ALOAD_0     // FieldyHelloWorld this   (line 1)
                    INVOKESPECIAL java.lang.Object.<init> ()V
    constructor-execution(void FieldyHelloWorld.<init>())
    |               INVOKESTATIC Aspect.ajc_before_constructor_execution ()V
    |               RETURN
    constructor-execution(void FieldyHelloWorld.<init>())
  end public void <init>()

  public static void main(String[]):
    method-execution(void FieldyHelloWorld.main(java.lang.String[]))
    |               INVOKESTATIC Aspect.ajc_before_method_execution ()V   (line 6)
    | field-get(java.lang.String FieldyHelloWorld.str)
    | |             INVOKESTATIC Aspect.ajc_before_field_get ()V
    | |             GETSTATIC FieldyHelloWorld.str Ljava/lang/String;
    | field-get(java.lang.String FieldyHelloWorld.str)
    | method-call(java.lang.String java.lang.String.valueOf(java.lang.Object))
    | |             INVOKESTATIC Aspect.ajc_before_method_call ()V
    | |             INVOKESTATIC java.lang.String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
    | method-call(java.lang.String java.lang.String.valueOf(java.lang.Object))
    |               ASTORE_1
    | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
    | |             INVOKESTATIC Aspect.ajc_before_constructor_call ()V
    | |             NEW java.lang.StringBuffer
    | |             DUP
    | |             ALOAD_1
    | |             INVOKESPECIAL java.lang.StringBuffer.<init> (Ljava/lang/String;)V
    | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
    |               LDC " World"
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.String))
    | |             INVOKESTATIC Aspect.ajc_before_method_call ()V
    | |             INVOKEVIRTUAL java.lang.StringBuffer.append (Ljava/lang/String;)Ljava/lang/StringBuffer;
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.String))
    | method-call(java.lang.String java.lang.StringBuffer.toString())
    | |             INVOKESTATIC Aspect.ajc_before_method_call ()V
    | |             INVOKEVIRTUAL java.lang.StringBuffer.toString ()Ljava/lang/String;
    | method-call(java.lang.String java.lang.StringBuffer.toString())
    |               PUTSTATIC FieldyHelloWorld.str Ljava/lang/String;
    | 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)
    | field-get(java.lang.String FieldyHelloWorld.str)
    | |             INVOKESTATIC Aspect.ajc_before_field_get ()V
    | |             GETSTATIC FieldyHelloWorld.str Ljava/lang/String;
    | field-get(java.lang.String FieldyHelloWorld.str)
    | 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 9)
    method-execution(void FieldyHelloWorld.main(java.lang.String[]))
  end public static void main(String[])
end public class FieldyHelloWorld