public abstract class CFGIntermediateRep extends CFGOptionMatcher.CFGOption
| Modifier and Type | Field and Description |
|---|---|
static CFGIntermediateRep |
BAF_IR |
static CFGIntermediateRep |
GRIMP_IR |
static CFGIntermediateRep |
JIMPLE_IR |
static CFGIntermediateRep |
SHIMPLE_IR |
static CFGIntermediateRep |
VIA_SHIMPLE_JIMPLE_IR |
| Modifier and Type | Method and Description |
|---|---|
abstract Body |
getBody(JimpleBody b)
Converts a
JimpleBody into the
corresponding Body in this intermediate
representation. |
static CFGIntermediateRep |
getIR(java.lang.String name)
Returns the
CFGIntermediateRep identified by the
passed name. |
static java.lang.String |
help(int initialIndent,
int rightMargin,
int hangingIndent)
Returns a string containing the names of all the
available
CFGIntermediateReps, separated by
'|' characters. |
namepublic static final CFGIntermediateRep JIMPLE_IR
public static final CFGIntermediateRep BAF_IR
public static final CFGIntermediateRep GRIMP_IR
public static final CFGIntermediateRep SHIMPLE_IR
public static final CFGIntermediateRep VIA_SHIMPLE_JIMPLE_IR
public abstract Body getBody(JimpleBody b)
JimpleBody into the
corresponding Body in this intermediate
representation.b - The Jimple body to be represented.Body in this intermediate representation which
represents the same method as b.public static CFGIntermediateRep getIR(java.lang.String name)
CFGIntermediateRep identified by the
passed name.name - A String identifying the intermediate
representation.CFGIntermediateRep object whose
getBody(JimpleBody) method will create the desired intermediate
representation.public static java.lang.String help(int initialIndent,
int rightMargin,
int hangingIndent)
CFGIntermediateReps, separated by
'|' characters.initialIndent - The number of blank spaces to insert at the
beginning of the returned string. Ignored if
negative.rightMargin - If positive, newlines will be inserted to try
to keep the length of each line in the
returned string less than or equal to
*rightMargin.hangingIndent - If positive, this number of spaces will be
inserted immediately after each newline
inserted to respect the rightMargin.