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