org.aspectj/weaver/testdata/ArgsBeforeAfterHelloWorld.txt
2002-12-16 17:58:19 +00:00

53 lines
2.3 KiB
Plaintext

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[]):
ALOAD_0
ASTORE_3
method-execution(void HelloWorld.main(java.lang.String[]))
| catch java.lang.Throwable -> E1
| | ALOAD_3
| | INVOKESTATIC Aspect.ajc_before_method_execution (Ljava/lang/Object;)V
| | 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)
| | ASTORE_1
| | method-call(void java.io.PrintStream.println(java.lang.String))
| | | catch java.lang.Throwable -> E0
| | | | ALOAD_1
| | | | INVOKESTATIC Aspect.ajc_before_method_call (Ljava/lang/Object;)V
| | | | ALOAD_1
| | | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V
| | | catch java.lang.Throwable -> E0
| | | GOTO L0
| | | E0: ASTORE_2
| | | ALOAD_1
| | | INVOKESTATIC Aspect.ajc_afterThrowing_method_call (Ljava/lang/Object;)V
| | | ALOAD_2
| | | ATHROW
| | | L0: NOP
| | | ALOAD_1
| | | INVOKESTATIC Aspect.ajc_afterReturning_method_call (Ljava/lang/Object;)V
| | | NOP
| | method-call(void java.io.PrintStream.println(java.lang.String))
| | GOTO L1 (line 11)
| catch java.lang.Throwable -> E1
| E1: ASTORE 4
| ALOAD_3
| INVOKESTATIC Aspect.ajc_afterThrowing_method_execution (Ljava/lang/Object;)V
| ALOAD 4
| ATHROW
| L1: ALOAD_3
| INVOKESTATIC Aspect.ajc_afterReturning_method_execution (Ljava/lang/Object;)V
| RETURN
method-execution(void HelloWorld.main(java.lang.String[]))
end public static void main(String[])
end public class HelloWorld