aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/before/Annotation.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource/before/Annotation.java')
-rw-r--r--test/pretty/resource/before/Annotation.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pretty/resource/before/Annotation.java b/test/pretty/resource/before/Annotation.java
new file mode 100644
index 00000000..297dd793
--- /dev/null
+++ b/test/pretty/resource/before/Annotation.java
@@ -0,0 +1,9 @@
+@SuppressWarnings("all")
+class Annotation {
+ @Override
+ public String toString() {
+ return super.toString();
+ }
+ public void method(@SuppressWarnings("unused") int x) {
+ }
+}