aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features161
diff options
context:
space:
mode:
authoraclement <aclement>2009-11-30 21:04:08 +0000
committeraclement <aclement>2009-11-30 21:04:08 +0000
commit11ff72524df72345f24cc341119cf278808cdc32 (patch)
tree36e586324a68879c8a86308b6bbcfc2e53da34dc /tests/features161
parent898d05cf68039b3a0d4449c0ed2cd6c9f74798ce (diff)
downloadaspectj-11ff72524df72345f24cc341119cf278808cdc32.tar.gz
aspectj-11ff72524df72345f24cc341119cf278808cdc32.zip
296484:296501: annotationbinding
Diffstat (limited to 'tests/features161')
-rw-r--r--tests/features161/optimizedAnnotationBinding/CaseFive.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/features161/optimizedAnnotationBinding/CaseFive.java b/tests/features161/optimizedAnnotationBinding/CaseFive.java
index 59b7c7675..dc168f154 100644
--- a/tests/features161/optimizedAnnotationBinding/CaseFive.java
+++ b/tests/features161/optimizedAnnotationBinding/CaseFive.java
@@ -8,16 +8,16 @@ public class CaseFive {
o.a();
}
- @Anno("hello") public void a() {}
+ @Anno(4) public void a() {}
}
@Retention(RetentionPolicy.RUNTIME)
-@interface Anno { String value(); }
+@interface Anno { int value(); }
aspect X {
- before(String l): execution(@Anno * *(..)) && @annotation(Anno(l)) {
+ before(int l): execution(@Anno * *(..)) && @annotation(Anno(l)) {
System.out.println(l);
}
}