org.eclipse.xtext.xbase.interpreter.impl
Class ClosureInvocationHandler
java.lang.Object
org.eclipse.xtext.xbase.interpreter.impl.AbstractClosureInvocationHandler
org.eclipse.xtext.xbase.interpreter.impl.ClosureInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class ClosureInvocationHandler
- extends AbstractClosureInvocationHandler
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosureInvocationHandler
public ClosureInvocationHandler(XClosure closure,
IEvaluationContext context,
IExpressionInterpreter interpreter,
CancelIndicator indicator)
doInvoke
protected java.lang.Object doInvoke(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
doInvoke
in class AbstractClosureInvocationHandler
- Throws:
java.lang.Throwable
initializeClosureParameters
protected void initializeClosureParameters(IEvaluationContext context,
java.lang.Object[] args)
proxyToString
protected java.lang.String proxyToString(java.lang.Object proxy)
- Overrides:
proxyToString
in class AbstractClosureInvocationHandler