public class FunctorMethod extends Member implements IMethod
| Constructor and Description |
|---|
FunctorMethod(String name,
IFunctor functor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of the
IMember. |
IClass[] |
getParameterTypes() |
IClass |
getReturnType()
The declared type of the executable.
|
Object |
invoke(Object receiver,
IArgs args)
Execute the implementation associated with this method in the context of
the
receiver and return the result. |
getDeclaringClass, hasModifier, setDeclaringClass, setModifiersequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaringClass, hasModifierpublic String getName()
IMemberIMember.getName in interface IMembergetName in interface ISignatureInfoIMember.public IClass[] getParameterTypes()
getParameterTypes in interface ISignatureInfopublic IClass getReturnType()
IReturnTypeInfogetReturnType in interface IReturnTypeInfopublic Object invoke(Object receiver, IArgs args) throws MethodInvocationException
IMethodHandlerreceiver and return the result.invoke in interface IMethodHandlerreceiver - The object implementing the method.args - The arguments for the invocation.MethodInvocationExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.