Contains all constants defined in the mapping process.
Strategy for propagating the value of collection-typed properties from source to target.
Strategy for inheriting configurations given for methods of prototype mapping methods (declared on mapper config classes) to actual mapping methods declared on mappers referring to such config class via
Strategy for dealing with null source values.
Strategy for dealing with
Policy for reporting issues occurring during the generation of a mapper implementation.
Marks a method to be invoked at the end of a generated mapping method, right before the last
Configures the mapping between two bean types.
Marks a method to be invoked at the beginning of a generated mapping method.
Marks a parameter of a method to be treated as mapping context.
Specifies a decorator to be applied to a generated mapper, which e.g. can be used to amend mappings performed by generated mapping methods.
Advises the code generator to apply all the
Configures the mapping between two iterable like types, e.g.
Configures the mapping between two map types, e.g.
Marks an interface or abstract class as a mapper and activates the generation of a implementation of that type via MapStruct.
Marks a class or interface as configuration source for generated mappers.
Configures the mapping of one bean attribute or enum constant.
Configures the mappings of several bean attributes.
Declares a parameter of a mapping method to be the target of the mapping.
Marks mapping methods with the given qualifier name.
This annotation marks a method as a factory method to create beans.
Declares an annotation type to be a qualifier.
Declares a parameter of a custom mapping method to be populated with the target type of the mapping.
Configures the mapping of source constant value to target constant value.
Constructs a set of value (constant) mappings.
MapStruct is a code generator which simplifies the implementation of mappings between Java bean types by generating mapping code at compile time, following a convention-over-configuration approach. The generated code uses plain method invocations and thus is fast and type-safe.
This package contains several annotations which allow to configure how mapper interfaces are generated.
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.