You need to map object structures to one another, which are similar but not exactly the same?
Then you should try out the new release of +MapStruct
, a compile-time code generator for bean-to-bean mappings. It gives you fast, type-safe and dependency-free mapping code, generated from simple Java interface definitions.
The latest Beta brings support for mapping nested properties, fine-grained selection of mapping methods via qualifiers, support for Java 8 date/time types and much more. Give it a spin and let us know about your feedback!
Many, many thanks to +Andreas Gudian
, Sjaak Derksen, +Timo E aus E
and Christian Schuster who all helped with this release!