Intelligent object mapping
Clone or download
codehumane and chhsiao90 Fixed invalid property info return on hashCode collision
- Sometimes `hashCodeFor` returns same value for different properties.
- Then `PropertyInfoRegistry` stores just one property and ignores others.
- So, use `PropertyInfoKey` as a cache key instead of `Integer` to resolve hashCode collision.
Latest commit 06dcce4 Jan 12, 2019


Build Status Maven Central License JavaDoc

ModelMapper is an intelligent object mapping library that automatically maps objects to each other. It uses a convention based approach while providing a simple refactoring safe API for handling specific use cases.

Visit to learn more.


In v2.0, ModelMapper provides modules for 3rd library integration you can easily register by modelMapper.registerModule(new TheModule()).

Related Projects


Bug reports and feature requests are welcome via the issue tracker. Fixes and enhancements are also welcome via pull requests. If you're unsure about a contribution idea, feel free to contact me.