aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NullLibrary2.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/NullLibrary2.java')
-rw-r--r--test/transform/resource/after-delombok/NullLibrary2.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/NullLibrary2.java b/test/transform/resource/after-delombok/NullLibrary2.java
index 8f48c8a5..fec143c2 100644
--- a/test/transform/resource/after-delombok/NullLibrary2.java
+++ b/test/transform/resource/after-delombok/NullLibrary2.java
@@ -1,3 +1,4 @@
+//version 8: springframework dep is too new to run on j6
public class NullLibrary2 {
String foo;
@java.lang.Override
@@ -35,6 +36,9 @@ public class NullLibrary2 {
public NullLibrary2(final String foo) {
this.foo = foo;
}
+ /**
+ * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
+ */
@org.springframework.lang.NonNull
@java.lang.SuppressWarnings("all")
public NullLibrary2 withFoo(final String foo) {