public class CallMethodExpr extends CallExpr
CallStaticExpr| Modifier and Type | Field and Description |
|---|---|
static int |
INTERFACE |
static int |
NONVIRTUAL |
static int |
VIRTUAL |
| Constructor and Description |
|---|
CallMethodExpr(int kind,
Expr receiver,
Expr[] params,
MemberRef method,
Type type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equalsExpr(Expr other)
Compares this expression to another.
|
int |
exprHashCode()
Returns the hash code for this expresion.
|
int |
kind() |
Expr |
receiver() |
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
cleanupOnly, comparator, copyInto, def, isDef, setDef, setType, stmt, typeblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic static final int VIRTUAL
public static final int NONVIRTUAL
public static final int INTERFACE
public CallMethodExpr(int kind,
Expr receiver,
Expr[] params,
MemberRef method,
Type type)
kind - The kind (VIRTUAL, NONVIRTUAL, or INTERFACE) of method that is
being called.receiver - The expression (object) whose method is being called.params - Parameters to the method.method - The method being called.type - The type of this expression.public int kind()
public Expr receiver()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)
public int exprHashCode()
ExprexprHashCode in class Exprpublic boolean equalsExpr(Expr other)
ExprequalsExpr in class Exprother - Expr to which to compare this.