vscode-java-code-generator
vscode-java-code-generator copied to clipboard
Getters and fluent setters only
I would like to have the possibility to generate getters and fluent setters - but NO "normal" setters. Furthermore, the method names of the fluent setters should conform to the JavaBeans Naming Conventions. I don't want two different kind of setters.
Or is this already possible and I simply failed badly at adapting the configuration settings properly? Thanks in advance!
Example:
public class Whatever {
private String propertyA;
public String getPropertyA() {
return propertyA;
}
public Whatever setPropertyA(String propertyA) {
this.propertyA = propertyA;
return this;
}
}