aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-31 15:53:24 +0000
committeraclement <aclement>2005-10-31 15:53:24 +0000
commit260ff1798e0aaaba8cef2c848578f5817d072abe (patch)
treee8796a8d73a44494611823a2a880b8fa04fe0bd7 /tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java
parent7d5000a3785da1d615b5c5ca9ce584f3509f5db4 (diff)
downloadaspectj-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.java18
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);
+ }
+ }
+
+}