Class CreateOrUpdateSelector
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.selector.CreateOrUpdateSelector
-
public class CreateOrUpdateSelector extends Object
Selection based on type of method (create - or update method).Prefers (when present):
- create method candidates (methods not containing
@MappingTarget
) when mapping method is a create method - update method candidates (methods containing
@MappingTarget
) when mapping method is an update method
- Author:
- Sjaak Derksen
- create method candidates (methods not containing
-
-
Constructor Summary
Constructors Constructor Description CreateOrUpdateSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Method>
List<SelectedMethod<T>>getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)
-
-
-
Method Detail
-
getMatchingMethods
public <T extends Method> List<SelectedMethod<T>> getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)
-
-