org.eclipse.xtend.backend.functions.internal
Class Closure
java.lang.Object
org.eclipse.xtend.backend.functions.AbstractFunction
org.eclipse.xtend.backend.functions.internal.Closure
- All Implemented Interfaces:
- Function
public final class Closure
- extends AbstractFunction
- Author:
- Arno Haase (http://www.haase-consulting.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Closure
public Closure(LocalVarContext lvcAtDefinitionTime,
FunctionDefContext fdcAtDefinitionTime,
java.util.List<java.lang.String> paramNames,
java.util.List<? extends BackendType> paramTypes,
ExpressionBase def)
invoke
public java.lang.Object invoke(ExecutionContext ctx,
java.lang.Object[] params)
- Description copied from interface:
Function
- this method is permitted to modify the param array that is passed in
setFunctionDefContext
public void setFunctionDefContext(FunctionDefContext fdc)
- Specified by:
setFunctionDefContext
in interface Function
- Overrides:
setFunctionDefContext
in class AbstractFunction
getFunctionDefContext
public FunctionDefContext getFunctionDefContext()
- Specified by:
getFunctionDefContext
in interface Function
- Overrides:
getFunctionDefContext
in class AbstractFunction
getReturnType
public BackendType getReturnType()
- Specified by:
getReturnType
in interface Function
- Overrides:
getReturnType
in class AbstractFunction