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
-
-
Constructor Summary
Constructors Constructor Description ClosureInvocationHandler(XClosure closure, IEvaluationContext context, IExpressionInterpreter interpreter, org.eclipse.xtext.util.CancelIndicator indicator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdoInvoke(java.lang.reflect.Method method, java.lang.Object[] args)protected voidinitializeClosureParameters(IEvaluationContext context, java.lang.Object[] args)protected java.lang.StringproxyToString(java.lang.Object proxy)-
Methods inherited from class org.eclipse.xtext.xbase.interpreter.impl.AbstractClosureInvocationHandler
invoke, isEquals, isHashCode, isToString
-
-
-
-
Constructor Detail
-
ClosureInvocationHandler
public ClosureInvocationHandler(XClosure closure, IEvaluationContext context, IExpressionInterpreter interpreter, org.eclipse.xtext.util.CancelIndicator indicator)
-
-
Method Detail
-
doInvoke
protected java.lang.Object doInvoke(java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable- Specified by:
doInvokein classAbstractClosureInvocationHandler- 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:
proxyToStringin classAbstractClosureInvocationHandler- Parameters:
proxy- the proxy instance. May be used by inheritors.
-
-