diff options
author | aclement <aclement> | 2005-12-04 13:17:22 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-04 13:17:22 +0000 |
commit | 3e07ec315b7c0dfa28a1f42933875486abcb9c7c (patch) | |
tree | 66502f46e1b3f6ec49b5923f018769f8cd8344a0 /tests/bugs150/pr119019 | |
parent | 533d367839276941046bb119ea2e0f3f873fd642 (diff) | |
download | aspectj-3e07ec315b7c0dfa28a1f42933875486abcb9c7c.tar.gz aspectj-3e07ec315b7c0dfa28a1f42933875486abcb9c7c.zip |
testcode for 119019
Diffstat (limited to 'tests/bugs150/pr119019')
-rw-r--r-- | tests/bugs150/pr119019/bar/TargetITDClass.java | 5 | ||||
-rw-r--r-- | tests/bugs150/pr119019/foo/ITDWithACall.aj | 20 |
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"; + } + +} |