MethodExecutor that can be used to invoke that method.
The MethodExecutor will be cached, but if it becomes stale the
resolvers will be called again.
MethodExecutor, ConstructorResolver
| Modifier and Type | Method and Description |
|---|---|
| public MethodExecutor | Returns: aMethodExecutor that can invoke the method, or null
if the method cannot be foundthe current evaluation context context, Object the object upon which the method is being called targetObject, String the name of the method name, List<TypeDescriptor> the types of arguments that the method must be able
to handle argumentTypes)Within the supplied context, resolve a suitable method on the supplied object that can handle the specified arguments. |
| resolve | back to summary |
|---|---|
| public MethodExecutor resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) throws AccessException Within the supplied context, resolve a suitable method on the supplied object that can handle the specified arguments. Returns a
| |