aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/StaticConstructor.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/StaticConstructor.java')
-rw-r--r--test/transform/resource/after-delombok/StaticConstructor.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/StaticConstructor.java b/test/transform/resource/after-delombok/StaticConstructor.java
new file mode 100644
index 00000000..f9c862d7
--- /dev/null
+++ b/test/transform/resource/after-delombok/StaticConstructor.java
@@ -0,0 +1,12 @@
+public class StaticConstructor {
+ String name;
+ @java.lang.SuppressWarnings("all")
+ private StaticConstructor(final String name) {
+ this.name = name;
+ }
+ @org.checkerframework.checker.nullness.qual.NonNull
+ @java.lang.SuppressWarnings("all")
+ public static StaticConstructor of(final String name) {
+ return new StaticConstructor(name);
+ }
+} \ No newline at end of file