@ -95,10 +95,10 @@ public class ReflectiveMethodResolver implements MethodResolver {
@@ -95,10 +95,10 @@ public class ReflectiveMethodResolver implements MethodResolver {
/ * *
* Locate a method on a type . There are three kinds of match that might occur :
* < ol >
* < li > A n exact match where the types of the arguments match the types of the constructor
* < li > A n in - exact match where the types we are looking for are subtypes of those defined on the constructor
* < li > A match where we are able to convert the arguments into those expected by the constructor ,
* according to the registered type converter .
* < li > a n exact match where the types of the arguments match the types of the constructor
* < li > a n in - exact match where the types we are looking for are subtypes of those defined on the constructor
* < li > a match where we are able to convert the arguments into those expected by the constructor ,
* according to the registered type converter
* < / ol >
* /
@Override
@ -108,7 +108,7 @@ public class ReflectiveMethodResolver implements MethodResolver {
@@ -108,7 +108,7 @@ public class ReflectiveMethodResolver implements MethodResolver {
try {
TypeConverter typeConverter = context . getTypeConverter ( ) ;
Class < ? > type = ( targetObject instanceof Class ? ( Class < ? > ) targetObject : targetObject . getClass ( ) ) ;
List < Method > methods = new ArrayList < Method > ( ( getMethods ( type , targetObject ) ) ) ;
List < Method > methods = new ArrayList < Method > ( getMethods ( type , targetObject ) ) ;
// If a filter is registered for this type, call it
MethodFilter filter = ( this . filters ! = null ? this . filters . get ( type ) : null ) ;