[fixes #2682] Fix NPE, always add Javadoc return statement

This commit is contained in:
Rawi01 committed 2020-12-21 17:16:33 +01:00
1 parent 626c33255b
commit 624c8a5a52
139 files changed
+912 -49

No files matched your search

@@ -6,6 +6,9 @@ import lombok.With;
private final @With int x;
private final int y;
private int z;
/**
* @return {@code this}.
*/
public @org.checkerframework.dataflow.qual.SideEffectFree @java.lang.SuppressWarnings("all") CheckerFrameworkBasic withX(final int x) {
return ((this.x == x) ? this : new CheckerFrameworkBasic(x, this.y, this.z));
}
@@ -18,6 +21,9 @@ import lombok.With;
public @org.checkerframework.dataflow.qual.SideEffectFree @java.lang.SuppressWarnings("all") int getZ() {
return this.z;
}
/**
* @return {@code this}.
*/
public @org.checkerframework.common.returnsreceiver.qual.This @java.lang.SuppressWarnings("all") CheckerFrameworkBasic setZ(final int z) {
this.z = z;
return this;