aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr119019
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-04 13:17:22 +0000
committeraclement <aclement>2005-12-04 13:17:22 +0000
commit3e07ec315b7c0dfa28a1f42933875486abcb9c7c (patch)
tree66502f46e1b3f6ec49b5923f018769f8cd8344a0 /tests/bugs150/pr119019
parent533d367839276941046bb119ea2e0f3f873fd642 (diff)
downloadaspectj-3e07ec315b7c0dfa28a1f42933875486abcb9c7c.tar.gz
aspectj-3e07ec315b7c0dfa28a1f42933875486abcb9c7c.zip
testcode for 119019
Diffstat (limited to 'tests/bugs150/pr119019')
-rw-r--r--tests/bugs150/pr119019/bar/TargetITDClass.java5
-rw-r--r--tests/bugs150/pr119019/foo/ITDWithACall.aj20
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs150/pr119019/bar/TargetITDClass.java b/tests/bugs150/pr119019/bar/TargetITDClass.java
new file mode 100644
index 000000000..7026666f0
--- /dev/null
+++ b/tests/bugs150/pr119019/bar/TargetITDClass.java
@@ -0,0 +1,5 @@
+package bar;
+
+public class TargetITDClass {
+
+}
diff --git a/tests/bugs150/pr119019/foo/ITDWithACall.aj b/tests/bugs150/pr119019/foo/ITDWithACall.aj
new file mode 100644
index 000000000..dcf60785d
--- /dev/null
+++ b/tests/bugs150/pr119019/foo/ITDWithACall.aj
@@ -0,0 +1,20 @@
+package foo;
+
+import bar.TargetITDClass;
+
+public aspect ITDWithACall {
+
+ public static void main(String []argv) {
+ new TargetITDClass().doSomething("hello");
+ }
+
+ public void TargetITDClass.doSomething(String param) {
+ String changedParam= changeParam(param);
+ }
+
+
+ protected static String changeParam(String param) { /// <= HERE
+ return param + "-modified";
+ }
+
+}