diff options
author | aclement <aclement> | 2006-01-30 10:22:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-01-30 10:22:10 +0000 |
commit | 2b5329c2a672ff32f8c941f0c56e475ea58ce5f3 (patch) | |
tree | 2a96c1d4315bdc252d5bb6e14b5a435c0b78afc7 /tests/features151 | |
parent | af8ed913b0057fbe1b48d47a03c4390e7fdb591e (diff) | |
download | aspectj-2b5329c2a672ff32f8c941f0c56e475ea58ce5f3.tar.gz aspectj-2b5329c2a672ff32f8c941f0c56e475ea58ce5f3.zip |
testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type)
Diffstat (limited to 'tests/features151')
-rw-r--r-- | tests/features151/ptw/ExposedType.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/features151/ptw/ExposedType.java b/tests/features151/ptw/ExposedType.java new file mode 100644 index 000000000..daa2974c8 --- /dev/null +++ b/tests/features151/ptw/ExposedType.java @@ -0,0 +1,25 @@ +public class ExposedType { + public static void main(String[] args) { + new ExposedTypeOne().foo(); + new ExposedTypeTwo().foo(); + new ExposedTypeThree().foo(); + } +} + +class ExposedTypeOne { + public void foo() { } +} + +class ExposedTypeTwo { + public void foo() { } +} + +class ExposedTypeThree { + public void foo() { } +} + +aspect X pertypewithin(Exposed*) { + before(): execution(* foo(..)) { + System.err.println("here I am "+thisJoinPoint+": for class "+getWithinType()); + } +}
\ No newline at end of file |