aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-22 11:38:56 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-22 11:38:56 +0100
commit3400f66fa70da6664e91d98cc63d8ea959979606 (patch)
treef02f94deb1ab6baac73738e58ce8ffb8957b8935 /test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
parentbcd05a01b14705678dfd280989fa5071b627a234 (diff)
downloadlombok-3400f66fa70da6664e91d98cc63d8ea959979606.tar.gz
lombok-3400f66fa70da6664e91d98cc63d8ea959979606.tar.bz2
lombok-3400f66fa70da6664e91d98cc63d8ea959979606.zip
[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need the support for records
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderSimpleOnRecord.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderSimpleOnRecord.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java b/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
index 03aca3aa..aa35cf23 100644
--- a/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
+++ b/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
@@ -1,5 +1,5 @@
+// version 14:
import java.util.List;
-
record BuilderSimpleOnRecord<T>(List<T> l, String a) {
@java.lang.SuppressWarnings("all")
protected static class BuilderSimpleOnRecordBuilder<T> {
@@ -7,35 +7,35 @@ record BuilderSimpleOnRecord<T>(List<T> l, String a) {
private List<T> l;
@java.lang.SuppressWarnings("all")
private String a;
-
@java.lang.SuppressWarnings("all")
BuilderSimpleOnRecordBuilder() {
}
-
+ /**
+ * @return {@code this}.
+ */
@java.lang.SuppressWarnings("all")
public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> l(final List<T> l) {
this.l = l;
return this;
}
-
+ /**
+ * @return {@code this}.
+ */
@java.lang.SuppressWarnings("all")
public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> a(final String a) {
this.a = a;
return this;
}
-
@java.lang.SuppressWarnings("all")
public BuilderSimpleOnRecord<T> build() {
return new BuilderSimpleOnRecord<T>(this.l, this.a);
}
-
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder(l=" + this.l + ", a=" + this.a + ")";
}
}
-
@java.lang.SuppressWarnings("all")
protected static <T> BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> builder() {
return new BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T>();