public interface Method
BuiltInMethod and Method| Modifier and Type | Method and Description |
|---|---|
Accessibility |
getAccessibility()
Returns the
Accessibility of this method. |
Type |
getDeclaringMapper()
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed
but by another mapper imported via
Mapper#users(). |
java.lang.String |
getName()
Returns then name of the method.
|
java.util.List<Parameter> |
getParameters()
In contrast to
getSourceParameters() this method returns all parameters |
Type |
getReturnType()
Returns the return type of the method
|
java.util.List<Parameter> |
getSourceParameters()
returns the list of 'true' source parameters excluding the parameter(s) that is designated as
target by means of the target annotation
getTargetParameter(). |
Parameter |
getTargetParameter()
Returns the parameter designated as target parameter (if present)
getSourceParameters() |
java.util.List<Type> |
getThrownTypes()
Returns all exceptions thrown by this method
|
boolean |
matches(java.util.List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
boolean matches(java.util.List<Type> sourceTypes, Type targetType)
sourceTypes - the sourceTypes to match to the parametertargetType - the targetType to match to the returnTypeType getDeclaringMapper()
Mapper#users().java.lang.String getName()
java.util.List<Parameter> getParameters()
getSourceParameters() this method returns all parametersjava.util.List<Parameter> getSourceParameters()
getTargetParameter().Parameter getTargetParameter()
getSourceParameters()Accessibility getAccessibility()
Accessibility of this method.Accessibility of this methodType getReturnType()
java.util.List<Type> getThrownTypes()
Copyright © 2012-2014. All Rights Reserved.