|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.PhaseOptions
public class PhaseOptions
Manages the phase options of the various soot phases.
Constructor Summary | |
---|---|
PhaseOptions(Singletons.Global g)
|
Method Summary | |
---|---|
static boolean |
getBoolean(Map options,
String name)
This method returns true iff key "name" is in options and maps to "true". |
static float |
getFloat(Map options,
String name)
This method returns the float value of "name" in options or 1.0 if "name" is not found. |
static int |
getInt(Map options,
String name)
This method returns the integer value of "name" in options or 0 if "name" is not found. |
Map |
getPhaseOptions(HasPhaseOptions phase)
|
Map |
getPhaseOptions(String phaseName)
|
static String |
getString(Map options,
String name)
This method returns the value of "name" in options or "" if "name" is not found. |
boolean |
processPhaseOptions(String phaseName,
String option)
|
void |
setPackManager(PackManager m)
|
boolean |
setPhaseOption(HasPhaseOptions phase,
String option)
|
boolean |
setPhaseOption(String phaseName,
String option)
|
void |
setPhaseOptionIfUnset(String phaseName,
String option)
|
static PhaseOptions |
v()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhaseOptions(Singletons.Global g)
Method Detail |
---|
public void setPackManager(PackManager m)
public static PhaseOptions v()
public Map getPhaseOptions(String phaseName)
public Map getPhaseOptions(HasPhaseOptions phase)
public boolean processPhaseOptions(String phaseName, String option)
public static boolean getBoolean(Map options, String name)
public static String getString(Map options, String name)
public static float getFloat(Map options, String name)
public static int getInt(Map options, String name)
public boolean setPhaseOption(String phaseName, String option)
public boolean setPhaseOption(HasPhaseOptions phase, String option)
public void setPhaseOptionIfUnset(String phaseName, String option)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |