public class Printer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADD_JIMPLE_LN |
static int |
USE_ABBREVIATIONS |
Constructor and Description |
---|
Printer(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
boolean |
addJimpleLn() |
void |
clearOption(int opt) |
int |
getJimpleLnNum() |
void |
incJimpleLnNum() |
void |
printTo(Body b,
java.io.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.
|
void |
printTo(SootClass cl,
java.io.PrintWriter out) |
void |
setJimpleLnNum(int newVal) |
void |
setOption(int opt) |
boolean |
useAbbreviations() |
static Printer |
v() |
public static final int USE_ABBREVIATIONS
public static final int ADD_JIMPLE_LN
public static Printer v()
public boolean useAbbreviations()
public boolean addJimpleLn()
public void setOption(int opt)
public void clearOption(int opt)
public int getJimpleLnNum()
public void setJimpleLnNum(int newVal)
public void incJimpleLnNum()
public void printTo(SootClass cl, java.io.PrintWriter out)
public void printTo(Body b, java.io.PrintWriter out)
out
- a PrintWriter instance to print to.