|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.xact.analysis.soot.StatementBuilder
public class StatementBuilder
Methods for building flow graph statements.
Constructor Summary | |
---|---|
StatementBuilder(TranslatorUtil util)
Constructs a new statement builder. |
Method Summary | |
---|---|
void |
handleAssign(Value dest,
Value source)
Generates flow graph code for an assignment. |
void |
handleInvoke(Stmt stmt)
Generates flow graph code for a statement containing a method invocation. |
void |
putToXML(Variable dest,
Value source)
Generates statements for a toXML invocation. |
void |
putVar(Variable dest,
Value source)
Generates a VarStm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatementBuilder(TranslatorUtil util)
Method Detail |
---|
public void handleAssign(Value dest, Value source)
public void handleInvoke(Stmt stmt)
XML
and the related classes.
Always generates at least one flow graph statement.
The return value is assigned to a fresh result variable.
public void putToXML(Variable dest, Value source)
toXML
invocation.
public void putVar(Variable dest, Value source)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |