Package de.intarsys.tools.reflect
Interface IMethodHandler
-
- All Known Implementing Classes:
FunctorMethodHandler
,Predicates.And
,Predicates.Or
public interface IMethodHandler
An object able to access a method within a delegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object receiver, IArgs args)
Execute the implementation associated with this method in the context of thereceiver
and return the result.
-
-
-
Method Detail
-
invoke
java.lang.Object invoke(java.lang.Object receiver, IArgs args) throws MethodInvocationException
Execute the implementation associated with this method in the context of thereceiver
and return the result.- Parameters:
receiver
- The object implementing the method.args
- The arguments for the invocation.- Returns:
- The result of the invocation.
- Throws:
MethodException
MethodInvocationException
-
-