aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/after/GetterOnClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource/after/GetterOnClass.java')
-rw-r--r--test/delombok/resource/after/GetterOnClass.java59
1 files changed, 59 insertions, 0 deletions
diff --git a/test/delombok/resource/after/GetterOnClass.java b/test/delombok/resource/after/GetterOnClass.java
new file mode 100644
index 00000000..bd15ce35
--- /dev/null
+++ b/test/delombok/resource/after/GetterOnClass.java
@@ -0,0 +1,59 @@
+class GetterOnClass1 {
+ boolean isNone;
+ boolean isPublic;
+ @java.lang.SuppressWarnings("all")
+ public boolean isPublic() {
+ return this.isPublic;
+ }
+}
+class GetterOnClass2 {
+ boolean isNone;
+ boolean isProtected;
+ boolean isPackage;
+ @java.lang.SuppressWarnings("all")
+ protected boolean isProtected() {
+ return this.isProtected;
+ }
+ @java.lang.SuppressWarnings("all")
+ boolean isPackage() {
+ return this.isPackage;
+ }
+}
+class GetterOnClass3 {
+ boolean isNone;
+ boolean isPackage;
+ @java.lang.SuppressWarnings("all")
+ boolean isPackage() {
+ return this.isPackage;
+ }
+}
+class GetterOnClass4 {
+ boolean isNone;
+ boolean isPrivate;
+ @java.lang.SuppressWarnings("all")
+ private boolean isPrivate() {
+ return this.isPrivate;
+ }
+}
+class GetterOnClass5 {
+ boolean isNone;
+ boolean isPublic;
+ @java.lang.SuppressWarnings("all")
+ public boolean isPublic() {
+ return this.isPublic;
+ }
+}
+class GetterOnClass6 {
+ String couldBeNull;
+ @lombok.NonNull
+ String nonNull;
+ @java.lang.SuppressWarnings("all")
+ public String getCouldBeNull() {
+ return this.couldBeNull;
+ }
+ @lombok.NonNull
+ @java.lang.SuppressWarnings("all")
+ public String getNonNull() {
+ return this.nonNull;
+ }
+} \ No newline at end of file