diff options
author | aclement <aclement> | 2005-10-31 15:53:24 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-31 15:53:24 +0000 |
commit | 260ff1798e0aaaba8cef2c848578f5817d072abe (patch) | |
tree | e8796a8d73a44494611823a2a880b8fa04fe0bd7 /tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java | |
parent | 7d5000a3785da1d615b5c5ca9ce584f3509f5db4 (diff) | |
download | aspectj-260ff1798e0aaaba8cef2c848578f5817d072abe.tar.gz aspectj-260ff1798e0aaaba8cef2c848578f5817d072abe.zip |
lazytjp default - test code
Diffstat (limited to 'tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java')
-rw-r--r-- | tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java b/tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java new file mode 100644 index 000000000..148a2f556 --- /dev/null +++ b/tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java @@ -0,0 +1,18 @@ +public class LazyTjpTest4 { + + public void test1 () { } + + private static aspect Aspect1 { + + private static boolean enabled = true; + + after () : if(enabled) && execution(public void LazyTjpTest4.test1()) { + System.out.println(thisJoinPoint); + } + + before() : execution(public void LazyTjpTest4.test1()) { + System.out.println(thisJoinPoint); + } + } + +} |