ModelMapper seems to offer good ways to access this information. Depending on the configuration, most specifically the MatchingStrategy
, ModelMapper will automatically convert values from source paths to destination paths so long as they match.
To access this information one can use ModelMapper.getTypeMap
and TypeMap.getMappings
.