soot
Class LabeledUnitPrinter
java.lang.Object
|
+--soot.AbstractUnitPrinter
|
+--soot.LabeledUnitPrinter
- Direct Known Subclasses:
- BriefUnitPrinter, NormalUnitPrinter
- public abstract class LabeledUnitPrinter
- extends AbstractUnitPrinter
UnitPrinter implementation for representations that have labelled stmts,
such as Jimple, Grimp, and Baf
Field Summary |
protected java.lang.String |
labelIndent
|
protected java.util.Map |
labels
branch targets |
protected java.util.Map |
references
for unit references in Phi nodes |
Methods inherited from class soot.AbstractUnitPrinter |
constant,
decIndent,
endUnit,
endUnitBox,
endValueBox,
getIndent,
getPositionTagger,
handleIndent,
incIndent,
local,
newline,
noIndent,
output,
setIndent,
setPositionTagger,
startUnit,
startUnitBox,
startValueBox,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
labels
protected java.util.Map labels
- branch targets
references
protected java.util.Map references
- for unit references in Phi nodes
labelIndent
protected java.lang.String labelIndent
LabeledUnitPrinter
public LabeledUnitPrinter(Body b)
labels
public java.util.Map labels()
references
public java.util.Map references()
literal
public abstract void literal(java.lang.String s)
- Overrides:
- literal in class AbstractUnitPrinter
method
public abstract void method(SootMethod m)
- Overrides:
- method in class AbstractUnitPrinter
fieldRef
public abstract void fieldRef(SootField f)
- Overrides:
- fieldRef in class AbstractUnitPrinter
identityRef
public abstract void identityRef(IdentityRef r)
- Overrides:
- identityRef in class AbstractUnitPrinter
type
public abstract void type(Type t)
- Overrides:
- type in class AbstractUnitPrinter
unitRef
public void unitRef(Unit u,
boolean branchTarget)
- Overrides:
- unitRef in class AbstractUnitPrinter