MapStruct Support

Compatible with IntelliJ IDEA
Sep 21, 2017
2 203
MapStruct support for IntelliJ IDEA

Website | GitHub | Issue Tracker |

This plugin gives some assistence in projects that use MapStruct to generate bean mapping code.

MapStruct is a Java annotation processor for the generation of type-safe and performant mappers for Java bean classes.

If you want to discuss specific topics, then ping me (@filiphr) in the MapStruct users chat room on gitter.
Features:
  • Code Completion:
    • Completion of target and source properties in @Mapping annotation (nested properties also work)
    • Completion of target and source properties in @ValueMapping annotation
    • Completion of componentModel in @Mapper and @MapperConfig annotations
  • Go To Declaration for properties in target and source to setters / getters
  • Find usages of properties in target and source and find usages of setters / getters in @Mapping annotations
  • Highlighting properties in target and source
  • Refactoring support for properties and methods renaming

Download plugin

Recent change notes

1.0.1 * Bug fix: Properly handle methods with less than 3 characters

General usage instructions

Install and get support for auto completion in MapStruct annotations