org.eclipse.xtend.backend.types.java
Class JavaOperation
java.lang.Object
org.eclipse.xtend.backend.functions.AbstractFunction
org.eclipse.xtend.backend.types.java.JavaOperation
- All Implemented Interfaces:
- Function
public final class JavaOperation
- extends AbstractFunction
This class defines an operation defined as a method of a Java class, Java Beans style. The
object on which the method is called is passed in as the first parameter of the function.
- Since:
- 1.4
- Author:
- Arno Haase (http://www.haase-consulting.com), André Arnold - Made public API
Method Summary |
java.lang.Object |
invoke(ExecutionContext ctx,
java.lang.Object[] params)
this method is permitted to modify the param array that is passed in |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaOperation
public JavaOperation(java.lang.reflect.Method mtd,
java.util.List<BackendType> parameterTypes,
BackendType returnType,
ExpressionBase guard)
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