Class MiscStatementTools
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.util.MiscStatementTools
-
public class MiscStatementTools extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MiscStatementTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
applyExpressionRewriter(Op04StructuredStatement root, ExpressionRewriter expressionRewriter)
static java.util.List<Op04StructuredStatement>
getBlockStatements(Op04StructuredStatement code)
static boolean
isDeadCode(Op04StructuredStatement code)
static java.util.List<StructuredStatement>
linearise(Op04StructuredStatement root)
-
-
-
Method Detail
-
getBlockStatements
public static java.util.List<Op04StructuredStatement> getBlockStatements(Op04StructuredStatement code)
-
isDeadCode
public static boolean isDeadCode(Op04StructuredStatement code)
-
linearise
public static java.util.List<StructuredStatement> linearise(Op04StructuredStatement root)
-
applyExpressionRewriter
public static void applyExpressionRewriter(Op04StructuredStatement root, ExpressionRewriter expressionRewriter)
-
-