Skip to content

IntelIj plugin to convert dozer definitions to mapstruct. An opensource initiative from http://techconative.com

Notifications You must be signed in to change notification settings

techconative/DoStruct-plugin

Repository files navigation

MapStruct Plugin

About

When it comes to modernizing the applications, migrating to Mapstruct from Dozer mapper is one of the primary part for most of the Java enterprise applications that are running successfully for more than a decade.

This Intellij plugin will help us to do the migration faster by generating mapstruct code for the dozer xml.

Steps to add this plugin to ur ide

  • It's available in jetbrains market place.
  • Compatible versions are 2022.2 and above only.

How to Use The Plugin

  • Select the xml code.
  • press Ctrl + Shift + ` shortcut and provide the details.
  • Code will be generated at the specified location.
  • Map-id at field levels are added.

imageCheckBox

  • Uncheck the checkBok to avoid writing and just view the generated code in pop up.

Alternate,

  • Just right click on selected text click on GenerateMapping which appears first on popup menu.

menu

view

Support

If you find things to be improved, feel free to make your contributions by raising issues/PRs.