The JavaBean getter and
setter usage is often a bit laborious. I like to use a fluent API, but I don't
like to implement these methods direly in the bean class. There is a nice
IntelliJ Plugin named "Builder-Genarer", which generates a Builder
from POJO.
Just open class and press ALT-SHIFT-B
Plugin: http://plugins.jetbrains.com/plugin/6585
Keine Kommentare:
Kommentar veröffentlichen