public interface MethodResolver
| Modifier and Type | Method and Description |
|---|---|
MethodExecutor |
resolve(EvaluationContext context,
Object targetObject,
String name,
List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable method on the supplied object that
can handle the specified arguments.
|
@Nullable MethodExecutor resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws AccessException
MethodExecutor that can be used
to invoke that method, or null if no method could be found.context - the current evaluation contexttargetObject - the object upon which the method is being calledargumentTypes - the arguments that the constructor must be able to handleAccessException