|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodCallInstruction
x = y.m(z1, ..., zn), where m is a method and y is possibly a type variable, in the case of a static method call.
determine whether this is a static method call
,
determine whether this is a super call.
,
calls between constructors
Method Summary | |
---|---|
String |
getMethodName()
Returns the name of the called method. |
Variable |
getReceiverOperand()
Returns the receiver of this call, if any. |
boolean |
isStaticMethodCall()
Indicates whether this is a call to a static method. |
boolean |
isSuperCall()
Indicates whether this is a super-call |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.InvocationInstruction |
---|
getNode |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.AssignmentInstruction |
---|
getTarget |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction |
---|
transfer, transfer |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInvocation |
---|
getArgOperands, resolveBinding |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction |
---|
transfer, transfer |
Method Detail |
---|
Variable getReceiverOperand()
null
if this is a static method call.isStaticMethodCall()
boolean isSuperCall()
true
if this is a super-call, false
otherwise.SuperMethodInvocation
boolean isStaticMethodCall()
true
if this is a call to a static method, false
otherwise.String getMethodName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |