public class Printer extends 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,
PrintWriter out)
|
void |
printTo(SootClass cl,
PrintWriter out) |
void |
setCustomClassSignaturePrinter(Function<SootClass,String> customPrinter) |
void |
setCustomMethodSignaturePrinter(Function<SootMethod,String> customPrinter) |
void |
setCustomUnitPrinter(Function<Body,LabeledUnitPrinter> customUnitPrinter) |
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 Printer(Singletons.Global g)
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, PrintWriter out)
public void printTo(Body b, PrintWriter out)
Body, (declaration and body) in the textual format corresponding to
the IR used to encode the Body.b - the Body instance to print.out - a PrintWriter instance to print to.public void setCustomUnitPrinter(Function<Body,LabeledUnitPrinter> customUnitPrinter)
public void setCustomClassSignaturePrinter(Function<SootClass,String> customPrinter)
public void setCustomMethodSignaturePrinter(Function<SootMethod,String> customPrinter)
Copyright © 2024 Soot OSS. All rights reserved.