org.eclipse.xtend.backend.expr
Class MethodInvocationExpression
java.lang.Object
org.eclipse.xtend.backend.common.ExpressionBase
org.eclipse.xtend.backend.expr.MethodInvocationExpression
public class MethodInvocationExpression
- extends ExpressionBase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationExpression
public MethodInvocationExpression(java.lang.reflect.Method mtd,
java.util.List<? extends ExpressionBase> params,
boolean nullIfFirstParamIsNull,
SourcePos sourcePos)
- An expression that invokes an already known method
- Parameters:
mtd
- params
- nullIfFirstParamIsNull
- sourcePos
-
getMethod
public java.lang.reflect.Method getMethod()
getParams
public java.util.List<? extends ExpressionBase> getParams()
isNullIfFirstParamIsNull
public boolean isNullIfFirstParamIsNull()
evaluateInternal
protected java.lang.Object evaluateInternal(ExecutionContext ctx)
- Specified by:
evaluateInternal
in class ExpressionBase
guessParameterTypes
public static java.util.List<BackendType> guessParameterTypes(java.lang.reflect.Method mtd,
BackendTypesystem ts)
getName
public java.lang.String getName()
isStatic
public boolean isStatic()