|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.flowgraph.Entity dk.brics.xact.analysis.flowgraph.Statement dk.brics.xact.analysis.flowgraph.statements.CallStm
public class CallStm
A call to an application method.
Constructor Summary | |
---|---|
CallStm(Variable result,
Method method,
Variable[] arguments,
Origin origin)
Creates a call statement. |
Method Summary | |
---|---|
Variable |
getArgument(int i)
|
Variable[] |
getArguments()
|
Method |
getMethod()
|
String |
getOpName()
Returns the name of the operation. |
Variable |
getResult()
|
boolean |
isArgumentMutable(int i)
|
void |
setArgument(int i,
Variable var)
|
void |
setArgumentMutable(int i,
boolean mutable)
|
void |
setMethod(Method method)
|
void |
setResult(Variable result)
|
String |
toString()
Returns a textual description of the statement. |
void |
visitBy(StatementVisitor v)
Visits this statement by the given visitor. |
Methods inherited from class dk.brics.xact.analysis.flowgraph.Entity |
---|
getOrigin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CallStm(Variable result, Method method, Variable[] arguments, Origin origin)
result
- where to store the returned valuemethod
- a method. This statement will add itself as a call site.arguments
- variables with the method's actual argumentsorigin
- originMethod Detail |
---|
public Variable getArgument(int i)
public Variable[] getArguments()
public Method getMethod()
public String getOpName()
Statement
getOpName
in class Statement
public Variable getResult()
public boolean isArgumentMutable(int i)
public void setArgument(int i, Variable var)
public void setArgumentMutable(int i, boolean mutable)
public void setMethod(Method method)
public void setResult(Variable result)
public String toString()
Statement
toString
in class Statement
public void visitBy(StatementVisitor v)
Statement
visitBy
in class Statement
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |