public class XcoreInvocationDelegate extends java.lang.Object implements EOperation.Internal.InvocationDelegate
EOperation.Internal.InvocationDelegate.Factory
Constructor and Description |
---|
XcoreInvocationDelegate() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
dynamicInvoke(InternalEObject target,
EList<?> arguments)
Invokes the operation behaviour for the specified target
object.
|
void |
initialize(XBlockExpression body,
EOperation operation,
XcoreInterpreter interpreter) |
public void initialize(XBlockExpression body, EOperation operation, XcoreInterpreter interpreter)
public java.lang.Object dynamicInvoke(InternalEObject target, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
EOperation.Internal.InvocationDelegate
dynamicInvoke
in interface EOperation.Internal.InvocationDelegate
target
- the object on which to invoke the operationarguments
- the arguments for the operation parameters (an
empty list if the operation has no parameters)null
if it is
a void operationjava.lang.reflect.InvocationTargetException
- in case of failure to execute the
operation behaviour, usually because of an exception