public class XmlElementDeclSelector extends java.lang.Object implements MethodSelector
name and scope attributes of the XmlElementDecl
annotation, if that is present. Matching happens in the following order:
| Constructor and Description |
|---|
XmlElementDeclSelector(javax.lang.model.util.Types typeUtils) |
| 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 XmlElementDeclSelector(javax.lang.model.util.Types typeUtils)
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.