Jens Teglhus Møller

Results 6 comments of Jens Teglhus Møller

Yeah, I'm sorry, it creates a HashSet, will update the orignal description. This issue is that it creates a HashSet and calls a method that requires a LinkedHashSet as argument....

I think perhaps a solution could be to do something in the line of (little cleanup needed, perhaps create a getCollectionSupplier() method) in `ReflectionUtil`: ``` static Collector getCollector(Class

I can have a go at it. I'm a little unsure about error handling (just rethrowing instantiation exceptions as a RuntimeException) and if you are ok with using newInstance(), it...

By chained setters I mean setter that return `this` like: ``` class B { int i; B setI(int i) { this.i = i; return this; } } ``` So my...

I did a bit of research and debugging and I don't think there is a simple way to achieve this, since the bean introspection does not allow for chained/fluent setters....

I have made a proof of concept commit here: https://github.com/djarnis73/remap/commit/bcd99c874048a48ae6aebe0cacaf537313417331 please have a look and let me know if you like it.