mapstruct / mapstruct-eclipse

An Eclipse plug-in for working with MapStruct
Other
13 stars 8 forks source link

Quick-Fix: Handle message "Can't map property x to y. Consider to declare ..." #30

Closed agudian closed 9 years ago

agudian commented 9 years ago

The following error message:

Can't map property "org.foobar.OtherType prop3" to "org.foobar.SomeType prop3". Consider to declare/implement a mapping method: "org.foobar.SomeType map(org.foobar.OtherType value)".

... could use a quick-fix to either ignore the property, or to add a method with the suggested signature.

agudian commented 9 years ago

Fixed