soot
Class Printer
java.lang.Object
soot.Printer
public class Printer
- extends Object
Prints out a class and all its methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USE_ABBREVIATIONS
public static final int USE_ABBREVIATIONS
- See Also:
- Constant Field Values
ADD_JIMPLE_LN
public static final int ADD_JIMPLE_LN
- See Also:
- Constant Field Values
Printer
public Printer(Singletons.Global g)
v
public static Printer v()
useAbbreviations
public boolean useAbbreviations()
addJimpleLn
public boolean addJimpleLn()
setOption
public void setOption(int opt)
clearOption
public void clearOption(int opt)
getJimpleLnNum
public int getJimpleLnNum()
setJimpleLnNum
public void setJimpleLnNum(int newVal)
incJimpleLnNum
public void incJimpleLnNum()
printTo
public void printTo(SootClass cl,
PrintWriter out)
writeXXXDeprecated
public void writeXXXDeprecated(SootClass cl,
String outputDir)
- Writes the class out to a file.
printTo
public void printTo(Body b,
PrintWriter out)
- Prints out the method corresponding to b Body, (declaration and body),
in the textual format corresponding to the IR used to encode b body.
- Parameters:
out
- a PrintWriter instance to print to.