About 200 results
Open links in new tab
  1. MapStruct – Java bean mappings, the easy way!

    MapStruct is a code generator that greatly simplifies the implementation of mappings between Java bean types based on a convention over configuration approach. The generated mapping …

  2. MapStruct 1.6.3 Reference Guide

    1. Introduction MapStruct is a Java annotation processor for the generation of type-safe bean mapping classes. All you have to do is to define a mapper interface which declares any …

  3. Installation – MapStruct

    Add the javac task configured as follows to your build.xml file in order to enable MapStruct in your Ant-based project. Adjust the paths as required for your project layout.

  4. Documentation – MapStruct

    Documentation Installation How to download and set it up with different build tools More... Reference Guide The reference documentation and API docs for the current stable and …

  5. Reference Guide – MapStruct

    1.6.3 (November 9th 2024; latest stable release) Reference guide: HTML | PDF API documentation: JavaDoc Migration notes Spring Extensions (March 14th 2025) Reference …

  6. MapStruct 1.3.1.Final Reference Guide

    MapStruct is a Java annotation processor based on JSR 269 and as such can be used within command line builds (javac, Ant, Maven etc.) as well as from within your IDE.

  7. Testing MapStruct

    Since MapStruct is an annotation processor it needs to be invoked by a Java compiler in order for us to validate the functionality. The MapStruct team has decided to write only integration tests …

  8. Frequently Asked Questions (FAQ) – MapStruct

    Jan 16, 2014 · MapStruct reports this as “ambiguous mapping method” and lists the methods from which it cannot make a selection. Here, you have to guide MapStruct in making the correct …

  9. Mapping (MapStruct 1.6.3)

    When no matching property is found, MapStruct looks for a matching parameter name instead. When used to map an enum constant, the name of the constant member is to be given.

  10. NullValueCheckStrategy (MapStruct 1.6.3)

    Note: some types of mappings (collections, maps), in which MapStruct is instructed to use a getter or adder as target accessor see CollectionMappingStrategy, MapStruct will always generate a …