|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectforge.cfg.CFGStmt
forge.cfg.ReferenceStmt
forge.cfg.UpdateStmt
forge.cfg.CreateStmt
public final class CreateStmt
A stmt which constructs a new instance of a class and assigns that instance to a local variable.
CreateStmt ::= ForgeVariable = new InstanceDomain
| Method Summary | |
|---|---|
void |
accept(CFGVisitor visitor)
Applies a CFG visitor to this stmt. |
java.util.Set<ForgeExpression.Modifiable> |
modified()
Returns the set of variables and instance domains that may be modified by the statement. |
java.util.Set<ForgeExpression.Modifiable> |
referenced()
Returns the set of variables and instance domains referenced by the statement. |
InstanceDomain |
type()
|
ForgeVariable |
var()
|
| Methods inherited from class forge.cfg.UpdateStmt |
|---|
getNext, setNext, succs |
| Methods inherited from class forge.cfg.CFGStmt |
|---|
cfg, id, preds, program, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public ForgeVariable var()
public InstanceDomain type()
public java.util.Set<ForgeExpression.Modifiable> modified()
UpdateStmt
modified in class UpdateStmtpublic java.util.Set<ForgeExpression.Modifiable> referenced()
ReferenceStmt
referenced in class ReferenceStmtpublic void accept(CFGVisitor visitor)
CFGStmt
accept in class CFGStmt
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||