In many cases Java DSL is just an way to assemble some complex configuration and then pass built structure to internal method which will handle it....
For further actions, you may consider blocking this person and/or reporting abuse
Any DSL requires a lot of thinking. Described approach significantly simplifies building DSL's. And for particular case of replacement of plain
Builder
it's extremely simple, just some extra boilerplate code.Thanks my big dog.
updated comment, thanks again...
I like the simplicity of this example. I find it a good starting point for learning how to build a DSL.