public class TypeSelector extends java.lang.Object implements MethodSelector
MethodMatcher).| Constructor and Description |
|---|
TypeSelector(TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Method> |
getMatchingMethods(SourceMethod mappingMethod,
java.util.List<T> methods,
Type parameterType,
Type returnType,
java.lang.String targetPropertyName)
Selects those methods which match the given types and other criteria
|
public TypeSelector(TypeFactory typeFactory)
public <T extends Method> java.util.List<T> getMatchingMethods(SourceMethod mappingMethod, java.util.List<T> methods, Type parameterType, Type returnType, java.lang.String targetPropertyName)
MethodSelectorgetMatchingMethods in interface MethodSelectorT - either SourceMethod or BuiltInMethodmappingMethod - mapping method, defined in Mapper for which this selection is carried outmethods - list of available methodsparameterType - parameter type that should be matchedreturnType - return type that should be matchedtargetPropertyName - some information can be derived from the target propertyCopyright © 2012-2014. All Rights Reserved.