aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before/SetterAlreadyExists.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource/before/SetterAlreadyExists.java')
-rw-r--r--test/delombok/resource/before/SetterAlreadyExists.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/delombok/resource/before/SetterAlreadyExists.java b/test/delombok/resource/before/SetterAlreadyExists.java
new file mode 100644
index 00000000..a7a94123
--- /dev/null
+++ b/test/delombok/resource/before/SetterAlreadyExists.java
@@ -0,0 +1,35 @@
+class Setter1 {
+ @lombok.Setter boolean foo;
+ void setFoo(boolean foo) {
+ }
+}
+class Setter2 {
+ @lombok.Setter boolean foo;
+ void setFoo(String foo) {
+ }
+}
+class Setter3 {
+ @lombok.Setter String foo;
+ void setFoo(boolean foo) {
+ }
+}
+class Setter4 {
+ @lombok.Setter String foo;
+ void setFoo(String foo) {
+ }
+}
+class Setter5 {
+ @lombok.Setter String foo;
+ void setFoo() {
+ }
+}
+class Setter6 {
+ @lombok.Setter String foo;
+ void setFoo(String foo, int x) {
+ }
+}
+class Setter7 {
+ @lombok.Setter String foo;
+ static void setFoo() {
+ }
+}