We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 7.4.7 (latest) reports an issue on Builder nested class attribute data. It cannot be local because is used at the WithBuilderconstructor.
Builder
data
WithBuilder
public final class WithBuilder { private final Integer data; private WithBuilder(Builder builder) { this.data = builder.data; } public Integer getData() { return data; } public static Builder builder() { return new Builder(); } private final static class Builder { private Integer data = 0; public void setData(Integer data) { this.data = data; } public WithBuilder build() { return new WithBuilder(this); } } }
The above code is only an example of a class much more complex that actually requires a builder pattern.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version 7.4.7 (latest) reports an issue on
Builder
nested class attributedata
. It cannot be local because is used at theWithBuilder
constructor.The above code is only an example of a class much more complex that actually requires a builder pattern.
The text was updated successfully, but these errors were encountered: