diff options
author | aclement <aclement> | 2010-08-23 20:44:31 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-08-23 20:44:31 +0000 |
commit | e3e9be9ad4e035ae65de845c0a8cfaefe5c8b822 (patch) | |
tree | 78242c9a9d0c1e9f81582f66815d71933f83d898 /tests/features1610 | |
parent | 701e6bd6988b9a60b68a45c9d750605c873c26c2 (diff) | |
download | aspectj-e3e9be9ad4e035ae65de845c0a8cfaefe5c8b822.tar.gz aspectj-e3e9be9ad4e035ae65de845c0a8cfaefe5c8b822.zip |
323438
Diffstat (limited to 'tests/features1610')
-rw-r--r-- | tests/features1610/makeSJPOptimization/Azpect.aj | 5 | ||||
-rw-r--r-- | tests/features1610/makeSJPOptimization/B.java | 29 |
2 files changed, 34 insertions, 0 deletions
diff --git a/tests/features1610/makeSJPOptimization/Azpect.aj b/tests/features1610/makeSJPOptimization/Azpect.aj new file mode 100644 index 000000000..d57dc2b07 --- /dev/null +++ b/tests/features1610/makeSJPOptimization/Azpect.aj @@ -0,0 +1,5 @@ +public aspect Azpect { + before() : execution(* *(..)) { + System.out.println(thisJoinPoint.toLongString()); + } +} diff --git a/tests/features1610/makeSJPOptimization/B.java b/tests/features1610/makeSJPOptimization/B.java new file mode 100644 index 000000000..9cd1655b7 --- /dev/null +++ b/tests/features1610/makeSJPOptimization/B.java @@ -0,0 +1,29 @@ +public class B{ + public static void main(String args[]) throws Throwable{ + B b = new B(); + b.method1(null); + b.method2(null,null); + b.method3(); + method4(); + + } + + + + public Object method1(String p1){ + return "Hola"; + } + + public Object method2(String p1, Integer p2) throws Exception{ + return "Hola"; + } + + private void method3(){ + return; + } + + public static void method4(){ + return; + } + +} |