summaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/annoRemoval/base/a/Code.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiIncremental/annoRemoval/base/a/Code.java')
-rw-r--r--tests/multiIncremental/annoRemoval/base/a/Code.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/multiIncremental/annoRemoval/base/a/Code.java b/tests/multiIncremental/annoRemoval/base/a/Code.java
new file mode 100644
index 000000000..f776facf4
--- /dev/null
+++ b/tests/multiIncremental/annoRemoval/base/a/Code.java
@@ -0,0 +1,18 @@
+package a;
+import java.lang.annotation.*;
+
+aspect Remover{
+ declare @field: int Code.i: -@Anno;
+ declare @field: int Code.j: @Anno;
+}
+
+public class Code {
+
+ @Anno
+ public int i;
+
+ public int j;
+}
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Anno {}