aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-01 21:55:21 +0000
committeraclement <aclement>2005-11-01 21:55:21 +0000
commitbb9d2de08e63266a93ac1167f87b07813561d559 (patch)
tree8fb9e6d17780dc6327443874ad06fbcad4da5ae7 /tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java
parentb83d91aafe4de6362cd4f9bc30e92e80d392bc20 (diff)
downloadaspectj-bb9d2de08e63266a93ac1167f87b07813561d559.tar.gz
aspectj-bb9d2de08e63266a93ac1167f87b07813561d559.zip
pr93253: lazytjp the default
Diffstat (limited to 'tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java')
-rw-r--r--tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java22
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);
+ }
+ }
+
+}