public class MethodCallExpression extends Expression
| Modifier and Type | Field and Description |
|---|---|
List<Expression> |
expressions |
private int |
hash
Cache the hash code for the expression
|
Method |
method |
Expression |
targetExpression |
nodeType, type| Constructor and Description |
|---|
MethodCallExpression(Method method,
Expression targetExpression,
List<Expression> expressions) |
MethodCallExpression(Type returnType,
Method method,
Expression targetExpression,
List<Expression> expressions) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
accept(ExpressionWriter writer,
int lprec,
int rprec) |
Expression |
accept(Shuttle shuttle) |
<R> R |
accept(Visitor<R> visitor) |
boolean |
equals(Object o) |
Object |
evaluate(Evaluator evaluator) |
int |
hashCode() |
canReduceaccept, accept0, getNodeType, getType, toStringpublic final Method method
public final Expression targetExpression
public final List<Expression> expressions
private int hash
MethodCallExpression(Type returnType, Method method, Expression targetExpression, List<Expression> expressions)
MethodCallExpression(Method method, Expression targetExpression, List<Expression> expressions)
public Expression accept(Shuttle shuttle)
accept in interface Nodeaccept in class Expressionpublic <R> R accept(Visitor<R> visitor)
public Object evaluate(Evaluator evaluator)
evaluate in class AbstractNodevoid accept(ExpressionWriter writer, int lprec, int rprec)
accept in class AbstractNodepublic boolean equals(Object o)
equals in class AbstractNodepublic int hashCode()
hashCode in class AbstractNodeCopyright © 2012–2023 The Apache Software Foundation. All rights reserved.