Class FactoryParameterSelector
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.selector.FactoryParameterSelector
-
public class FactoryParameterSelector extends Object
For factory methods, the candidate list is checked if it contains a method with a source parameter which is to be favored compared to factory methods without a source parameter. It returns the original list of candidates in case of ambiguities.- Author:
- Andreas Gudian
-
-
Constructor Summary
Constructors Constructor Description FactoryParameterSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Method>
List<SelectedMethod<T>>getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)
-
-
-
Method Detail
-
getMatchingMethods
public <T extends Method> List<SelectedMethod<T>> getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)
-
-