aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java
diff options
context:
space:
mode:
authorabrinkman94 <abrinkman94@gmail.com>2019-09-12 12:32:12 -0500
committerabrinkman94 <abrinkman94@gmail.com>2019-09-12 12:32:12 -0500
commit8b30eee6042c40ad0c815f5c67c86c9bf15f0dbb (patch)
treef556ff24caadb6f5dbeee2166565493b3b4f0850 /test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java
parent36287f2ff9ed2f809f8c1c76155919417ad04d3c (diff)
downloadlombok-8b30eee6042c40ad0c815f5c67c86c9bf15f0dbb.tar.gz
lombok-8b30eee6042c40ad0c815f5c67c86c9bf15f0dbb.tar.bz2
lombok-8b30eee6042c40ad0c815f5c67c86c9bf15f0dbb.zip
Adjusted test classes to include WithSetterPrefix.
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java
index 29f1b792..49be1717 100644
--- a/test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderWithNonNullWithSetterPrefix.java
@@ -1,22 +1,22 @@
-class BuilderWithNonNull {
+class BuilderWithNonNullWithSetterPrefix {
@lombok.NonNull
private final String id;
@java.lang.SuppressWarnings("all")
- BuilderWithNonNull(@lombok.NonNull final String id) {
+ BuilderWithNonNullWithSetterPrefix(@lombok.NonNull final String id) {
if (id == null) {
throw new java.lang.NullPointerException("id is marked non-null but is null");
}
this.id = id;
}
@java.lang.SuppressWarnings("all")
- public static class BuilderWithNonNullBuilder {
+ public static class BuilderWithNonNullWithSetterPrefixBuilder {
@java.lang.SuppressWarnings("all")
private String id;
@java.lang.SuppressWarnings("all")
- BuilderWithNonNullBuilder() {
+ BuilderWithNonNullWithSetterPrefixBuilder() {
}
@java.lang.SuppressWarnings("all")
- public BuilderWithNonNullBuilder withId(@lombok.NonNull final String id) {
+ public BuilderWithNonNullWithSetterPrefixBuilder withId(@lombok.NonNull final String id) {
if (id == null) {
throw new java.lang.NullPointerException("id is marked non-null but is null");
}
@@ -24,17 +24,17 @@ class BuilderWithNonNull {
return this;
}
@java.lang.SuppressWarnings("all")
- public BuilderWithNonNull build() {
- return new BuilderWithNonNull(id);
+ public BuilderWithNonNullWithSetterPrefix build() {
+ return new BuilderWithNonNullWithSetterPrefix(id);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
- return "BuilderWithNonNull.BuilderWithNonNullBuilder(id=" + this.id + ")";
+ return "BuilderWithNonNullWithSetterPrefix.BuilderWithNonNullWithSetterPrefixBuilder(id=" + this.id + ")";
}
}
@java.lang.SuppressWarnings("all")
- public static BuilderWithNonNullBuilder builder() {
- return new BuilderWithNonNullBuilder();
+ public static BuilderWithNonNullWithSetterPrefixBuilder builder() {
+ return new BuilderWithNonNullWithSetterPrefixBuilder();
}
}