Search in sources :

Example 1 with HasPhaseOptions

use of soot.HasPhaseOptions in project soot by Sable.

the class OptionsBase method getPhaseUsage.

protected String getPhaseUsage() {
    StringBuffer b = new StringBuffer();
    b.append("\nPhases and phase options:\n");
    for (Pack p : PackManager.v().allPacks()) {
        b.append(padOpt(p.getPhaseName(), p.getDeclaredOptions()));
        for (Iterator<Transform> phIt = p.iterator(); phIt.hasNext(); ) {
            final HasPhaseOptions ph = (HasPhaseOptions) phIt.next();
            b.append(padVal(ph.getPhaseName(), ph.getDeclaredOptions()));
        }
    }
    return b.toString();
}
Also used : HasPhaseOptions(soot.HasPhaseOptions) Pack(soot.Pack) Transform(soot.Transform)

Aggregations

HasPhaseOptions (soot.HasPhaseOptions)1 Pack (soot.Pack)1 Transform (soot.Transform)1