Class TargetTypeSelector
java.lang.Object
org.mapstruct.ap.internal.model.source.selector.TargetTypeSelector
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Method>
List<SelectedMethod<T>> getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)
-
Constructor Details
-
TargetTypeSelector
-
-
Method Details
-
getMatchingMethods
public <T extends Method> List<SelectedMethod<T>> getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)
-