Class TargetTypeSelector

java.lang.Object
org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector

public class TargetTypeSelector extends Object
This selector selects a best match based on the result type.

Suppose: Sedan -> Car -> Vehicle, MotorCycle -> Vehicle By means of this selector one can pinpoint the exact desired return type (Sedan, Car, MotorCycle, Vehicle)

Author:
Sjaak Derksen