aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before/SetterOnClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource/before/SetterOnClass.java')
-rw-r--r--test/delombok/resource/before/SetterOnClass.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/delombok/resource/before/SetterOnClass.java b/test/delombok/resource/before/SetterOnClass.java
new file mode 100644
index 00000000..5d195ff5
--- /dev/null
+++ b/test/delombok/resource/before/SetterOnClass.java
@@ -0,0 +1,37 @@
+@lombok.Setter
+class SetterOnClass1 {
+ @lombok.Setter(lombok.AccessLevel.NONE)
+ boolean isNone;
+ boolean isPublic;
+}
+@lombok.Setter(lombok.AccessLevel.PROTECTED)
+class SetterOnClass2 {
+ @lombok.Setter(lombok.AccessLevel.NONE)
+ boolean isNone;
+ boolean isProtected;
+ @lombok.Setter(lombok.AccessLevel.PACKAGE)
+ boolean isPackage;
+}
+@lombok.Setter(lombok.AccessLevel.PACKAGE)
+class SetterOnClass3 {
+ @lombok.Setter(lombok.AccessLevel.NONE)
+ boolean isNone;
+ boolean isPackage;
+}
+@lombok.Setter(lombok.AccessLevel.PRIVATE)
+class SetterOnClass4 {
+ @lombok.Setter(lombok.AccessLevel.NONE)
+ boolean isNone;
+ boolean isPrivate;
+}
+@lombok.Setter(lombok.AccessLevel.PUBLIC)
+class SetterOnClass5 {
+ @lombok.Setter(lombok.AccessLevel.NONE)
+ boolean isNone;
+ boolean isPublic;
+}
+@lombok.Setter
+class SetterOnClass6 {
+ String couldBeNull;
+ @lombok.NonNull String nonNull;
+} \ No newline at end of file