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