The InheritMaps annotation is used on a mapping method to specify that it should inherit the complete @Maps
configuration of another mapping method.
By default the Maps annotation is inherited from the mapping method with the same type pair in and out or reverse.
But you can specify a specific method from which you want to inherit.