aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features160
diff options
context:
space:
mode:
authoraclement <aclement>2008-02-06 20:27:15 +0000
committeraclement <aclement>2008-02-06 20:27:15 +0000
commit5d3d1983a043a2d7011e2f54cce63fb511fde335 (patch)
treeaddaf855e38ff2eda448bc2a3d7fde182cc80313 /tests/features160
parent3690f9d8a3589a77854cb1e45ebfdca8d439dfe8 (diff)
downloadaspectj-5d3d1983a043a2d7011e2f54cce63fb511fde335.tar.gz
aspectj-5d3d1983a043a2d7011e2f54cce63fb511fde335.zip
remove unwanted xlint for parameter annotations
Diffstat (limited to 'tests/features160')
-rw-r--r--tests/features160/parameterAnnotationMatching/NonNullAssertionForcer.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/features160/parameterAnnotationMatching/NonNullAssertionForcer.java b/tests/features160/parameterAnnotationMatching/NonNullAssertionForcer.java
new file mode 100644
index 000000000..872ea644a
--- /dev/null
+++ b/tests/features160/parameterAnnotationMatching/NonNullAssertionForcer.java
@@ -0,0 +1,17 @@
+import java.lang.annotation.*;
+
+public aspect NonNullAssertionForcer {
+
+ class C {
+ public void foo(@NonNull String s) {}
+ }
+
+ before(): execution(* *(@NonNull (*))) {
+ System.out.println("Bar");
+ }
+
+ @Target(ElementType.PARAMETER)
+ @interface NonNull {
+
+ }
+}