View Code? Open in Web Editor
NEW
A Java Step Builder pattern generator plugin for IntelliJ IDEA
License: MIT License
step-builder-generator's Introduction
๐ Hi, Iโm @makasprzak
๐ Iโm interested in back-end as well as front-end web development
๐ฑ Iโm currently learning a bit of Vue.js (have stronger experience in React)
๐๏ธ Iโm looking to collaborate on a challanging project
๐ซ How to reach me? [email protected]
step-builder-generator's People
Contributors
step-builder-generator's Issues
Note that IntelliJ IDEA on Mac OS X runs under JDK 6 by default, the plugin will be unavailable for a large portion of the IntelliJ IDEA user base...
When deciding on constructor injection define fields basing on constructor signature, not properties itself. This way can support constructors that transform i.e. varargs to lists.
Hi, The plugin does not create step builder for fields that don't have setter or setter returns its Class instance(Builder pattern) , for example:
class User {
int id ;
String name ;
String getName (){
return name ;
}
User setName (String name ){
this .name = name ;
return this ;
}
}
Now,try to create step builder, absolutely it won't create step for name.
Given an empty pojo (a class with no fields and just a defualt constructor) the builder class signature is malformed. Additional coma.
Hello,
Thanks for this wonderful plugin, it's quite handy!
Could you remove the static modifier from generated interfaces for related steps?
P.S: Intellij is also giving warning about unnecessary redundancy warning for static modifier.
Cheers