soot
Class LabeledUnitPrinter
java.lang.Object
soot.AbstractUnitPrinter
soot.LabeledUnitPrinter
- All Implemented Interfaces:
- UnitPrinter
- 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)
- Specified by:
literal
in interface UnitPrinter
- Specified by:
literal
in class AbstractUnitPrinter
method
public abstract void method(SootMethod m)
- Specified by:
method
in interface UnitPrinter
- Specified by:
method
in class AbstractUnitPrinter
fieldRef
public abstract void fieldRef(SootField f)
- Specified by:
fieldRef
in interface UnitPrinter
- Specified by:
fieldRef
in class AbstractUnitPrinter
identityRef
public abstract void identityRef(IdentityRef r)
- Specified by:
identityRef
in interface UnitPrinter
- Specified by:
identityRef
in class AbstractUnitPrinter
type
public abstract void type(Type t)
- Specified by:
type
in interface UnitPrinter
- Specified by:
type
in class AbstractUnitPrinter
unitRef
public void unitRef(Unit u,
boolean branchTarget)
- Specified by:
unitRef
in interface UnitPrinter
- Specified by:
unitRef
in class AbstractUnitPrinter