aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource')
-rw-r--r--test/delombok/resource/after/Annotation.java7
-rw-r--r--test/delombok/resource/after/ForLoop.java2
-rw-r--r--test/delombok/resource/after/WithComments.java1
-rw-r--r--test/delombok/resource/before/Annotation.java7
4 files changed, 14 insertions, 3 deletions
diff --git a/test/delombok/resource/after/Annotation.java b/test/delombok/resource/after/Annotation.java
new file mode 100644
index 00000000..38eddbf7
--- /dev/null
+++ b/test/delombok/resource/after/Annotation.java
@@ -0,0 +1,7 @@
+@SuppressWarnings("all")
+class Annotation {
+ @Override
+ public String toString() {
+ return super.toString();
+ }
+}
diff --git a/test/delombok/resource/after/ForLoop.java b/test/delombok/resource/after/ForLoop.java
index 609549b7..615f6e8a 100644
--- a/test/delombok/resource/after/ForLoop.java
+++ b/test/delombok/resource/after/ForLoop.java
@@ -1,6 +1,4 @@
-
public class ForLoop {
-
public static void main(String[] args) {
// before loop
for (int i = 0; i < 10; i++) {
diff --git a/test/delombok/resource/after/WithComments.java b/test/delombok/resource/after/WithComments.java
index 59cc97c4..684dcc8e 100644
--- a/test/delombok/resource/after/WithComments.java
+++ b/test/delombok/resource/after/WithComments.java
@@ -1,5 +1,4 @@
// Cool Comments
-
public class WithComments {
// Also inside the body
} \ No newline at end of file
diff --git a/test/delombok/resource/before/Annotation.java b/test/delombok/resource/before/Annotation.java
new file mode 100644
index 00000000..38eddbf7
--- /dev/null
+++ b/test/delombok/resource/before/Annotation.java
@@ -0,0 +1,7 @@
+@SuppressWarnings("all")
+class Annotation {
+ @Override
+ public String toString() {
+ return super.toString();
+ }
+}