aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/StringResidue2MultiArgHelloWorld.txt
blob: db000a60e4373991e0eb91bf289f39186158f09a (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
public class MultiArgHelloWorld extends java.lang.Object:
  public void <init>():
                    ALOAD_0     // MultiArgHelloWorld this   (line 3)
                    INVOKESPECIAL java.lang.Object.<init> ()V
    constructor-execution(void MultiArgHelloWorld.<init>())
    |               RETURN
    constructor-execution(void MultiArgHelloWorld.<init>())
  end public void <init>()

  public static void main(String[]):
    method-execution(void MultiArgHelloWorld.main(java.lang.String[]))
    |               LDC "Hello"   (line 6)
    |               LDC "World"
    |               ASTORE_1
    |               ASTORE_2
    | method-call(void MultiArgHelloWorld.foo(java.lang.Object, java.lang.Object))
    | |             ALOAD_1
    | |             INSTANCEOF java.lang.String
    | |             IFEQ L0
    | |             INVOKESTATIC Aspect.ajc_before_0 ()V
    | |         L0: ALOAD_2
    | |             ALOAD_1
    | |             INVOKESTATIC MultiArgHelloWorld.foo (Ljava/lang/Object;Ljava/lang/Object;)V
    | method-call(void MultiArgHelloWorld.foo(java.lang.Object, java.lang.Object))
    |               RETURN   (line 7)
    method-execution(void MultiArgHelloWorld.main(java.lang.String[]))
  end public static void main(String[])

  static void foo(Object, Object):
    method-execution(void MultiArgHelloWorld.foo(java.lang.Object, java.lang.Object))
    |               GETSTATIC java.lang.System.out Ljava/io/PrintStream;   (line 10)
    |               NEW java.lang.StringBuffer
    |               DUP
    |               INVOKESPECIAL java.lang.StringBuffer.<init> ()V
    |               ALOAD_0     // java.lang.Object s
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object))
    | |             INVOKEVIRTUAL java.lang.StringBuffer.append (Ljava/lang/Object;)Ljava/lang/StringBuffer;
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object))
    |               LDC " "
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.String))
    | |             INVOKEVIRTUAL java.lang.StringBuffer.append (Ljava/lang/String;)Ljava/lang/StringBuffer;
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.String))
    |               ALOAD_1     // java.lang.Object t
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object))
    | |             INVOKEVIRTUAL java.lang.StringBuffer.append (Ljava/lang/Object;)Ljava/lang/StringBuffer;
    | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object))
    | method-call(java.lang.String java.lang.StringBuffer.toString())
    | |             INVOKEVIRTUAL java.lang.StringBuffer.toString ()Ljava/lang/String;
    | method-call(java.lang.String java.lang.StringBuffer.toString())
    | 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 MultiArgHelloWorld.foo(java.lang.Object, java.lang.Object))
  end static void foo(Object, Object)

end public class MultiArgHelloWorld