0
Imagine the following situation:
- You have a Java class using
lombok
with@Builder
- This class has attributes with types referring to another class
- It is a class with many attributes
Is there a plugin that can build this class automatically without having to write in hand?
For example, generate this code below:
MinhaClasse.builder()
.attrA(
OutraClasse.builder()
.attrC(1)
.build()
)
.attrB("ABC")
.build();
Something I create the above code based on the class I want.