aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-12 01:44:52 +0100
committerGitHub <noreply@github.com>2023-01-12 01:44:52 +0100
commite90d497c93ecc7db1d5a901d40f11fc919f31447 (patch)
treee85b974b9c8bd42e1e9241d2bd3231cfecaa3ebc /test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java
parentef916881ad85371b905b0104072df2a2b133eee8 (diff)
parentd2ae62ac71ebf55406d308dc41e76f36e7cb5ea8 (diff)
downloadlombok-e90d497c93ecc7db1d5a901d40f11fc919f31447.tar.gz
lombok-e90d497c93ecc7db1d5a901d40f11fc919f31447.tar.bz2
lombok-e90d497c93ecc7db1d5a901d40f11fc919f31447.zip
Merge pull request #3232 from janrieke/superBuilderFixMethodExistsChecks
Fix SuperBuilder for fields named "build" or "self"
Diffstat (limited to 'test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java')
-rw-r--r--test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java b/test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java
index 94b708d2..f4a1c992 100644
--- a/test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java
+++ b/test/transform/resource/after-ecj/NullAnnotatedCheckerFrameworkSuperBuilder.java
@@ -11,8 +11,6 @@ class NullAnnotatedCheckerFrameworkSuperBuilder {
public ParentBuilder() {
super();
}
- protected abstract @java.lang.SuppressWarnings("all") B self();
- public abstract @java.lang.SuppressWarnings("all") C build();
/**
* @return {@code this}.
*/
@@ -56,6 +54,8 @@ class NullAnnotatedCheckerFrameworkSuperBuilder {
this.names.clear();
return self();
}
+ protected abstract @java.lang.SuppressWarnings("all") B self();
+ public abstract @java.lang.SuppressWarnings("all") C build();
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.@org.checkerframework.checker.nullness.qual.NonNull String toString() {
return (((((((("NullAnnotatedCheckerFrameworkSuperBuilder.Parent.ParentBuilder(x$value=" + this.x$value) + ", y=") + this.y) + ", z=") + this.z) + ", names=") + this.names) + ")");
}
@@ -111,8 +111,6 @@ class NullAnnotatedCheckerFrameworkSuperBuilder {
public ZChildBuilder() {
super();
}
- protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self();
- public abstract @java.lang.Override @java.lang.SuppressWarnings("all") C build();
/**
* @return {@code this}.
*/
@@ -128,6 +126,8 @@ class NullAnnotatedCheckerFrameworkSuperBuilder {
this.b = b;
return self();
}
+ protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self();
+ public abstract @java.lang.Override @java.lang.SuppressWarnings("all") C build();
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.@org.checkerframework.checker.nullness.qual.NonNull String toString() {
return (((((("NullAnnotatedCheckerFrameworkSuperBuilder.ZChild.ZChildBuilder(super=" + super.toString()) + ", a$value=") + this.a$value) + ", b=") + this.b) + ")");
}