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
Methods inherited from class soot.AbstractUnitPrinter |
constant, decIndent, endUnit, endUnitBox, endValueBox, getIndent, getPositionTagger, handleIndent, incIndent, initializeQuotableLocals, local, newline, noIndent, output, setIndent, setPositionTagger, startUnit, startUnitBox, startValueBox, toString |
labels
protected Map labels
- branch targets
references
protected Map<Unit,String> references
- for unit references in Phi nodes
labelIndent
protected String labelIndent
LabeledUnitPrinter
public LabeledUnitPrinter(Body b)
labels
public Map labels()
references
public Map<Unit,String> references()
literal
public abstract void literal(String s)
- Specified by:
literal
in interface UnitPrinter
- Specified by:
literal
in class AbstractUnitPrinter
methodRef
public abstract void methodRef(SootMethodRef m)
- Specified by:
methodRef
in interface UnitPrinter
- Specified by:
methodRef
in class AbstractUnitPrinter
fieldRef
public abstract void fieldRef(SootFieldRef 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