diff options
Diffstat (limited to 'tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java')
-rw-r--r-- | tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java b/tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java new file mode 100644 index 000000000..caa86a83d --- /dev/null +++ b/tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java @@ -0,0 +1,22 @@ +public class LazyTjpTest5 { + + public void test1 () { } + + private static aspect Aspect1 { + + private static boolean enabled = true; + + after () : if(enabled) && execution(public void LazyTjpTest5.test1()) { + System.out.println(thisJoinPoint); + } + + before() : execution(public void LazyTjpTest5.test1()) { + System.out.println(thisJoinPoint); + } + + void around() : execution(public void LazyTjpTest5.test1()) { + System.out.println(thisJoinPoint); + } + } + +} |