FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

mapstruct/mapstruct-eclipse: An Eclipse plug-in for working with MapStruct · GitHub

Repository files navigation

mapstruct-eclipse

An Eclipse plug-in for working with MapStruct

Eclipse Update Site

Current Features

Code-Completions

  • Completion of target and source properties in @Mapping annotation for bean mappings
  • Completion of target and source enum constants in @ValueMapping annotations for enum mappings
  • Completion of componentModel values in @Mapper annotation

Quick-Fixes

  • Quick-Fixes for error/warning message "Unmapped target property: ...":
    • Ignore unmapped target property adds @Mapping( target = "prop", ignore = true ) to the method
  • Quick-Fixes for error message "Can't map property X prop to Y prop. Consider to declare/implement a mapping method ...":
    • Add method: Y toY(X prop) adds an appropriate method declaration to the mapper.
    • Ignore unmapped target property adds @Mapping( target = "prop", ignore = true ) to the method.

Screenshots

Completion for Properties and Enum Constants

Quick Fix to Add Missing Property Mapping Method

Quick Fix to Ignore an Unmapped Property

Links

About

An Eclipse plug-in for working with MapStruct

Resources

Stars

12 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL