Class IterLoopRewriter
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op3rewriters.IterLoopRewriter
-
public class IterLoopRewriter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IterLoopRewriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Pair<ConditionalExpression,ConditionalExpression>
getSplitAnd(ConditionalExpression cnd)
private static void
rewriteArrayForLoop(Op03SimpleStatement loop, java.util.List<Op03SimpleStatement> statements)
static void
rewriteArrayForLoops(java.util.List<Op03SimpleStatement> statements)
private static void
rewriteIteratorWhileLoop(Op03SimpleStatement loop, java.util.List<Op03SimpleStatement> statements)
static void
rewriteIteratorWhileLoops(java.util.List<Op03SimpleStatement> statements)
-
-
-
Method Detail
-
getSplitAnd
private static Pair<ConditionalExpression,ConditionalExpression> getSplitAnd(ConditionalExpression cnd)
-
rewriteArrayForLoop
private static void rewriteArrayForLoop(Op03SimpleStatement loop, java.util.List<Op03SimpleStatement> statements)
-
rewriteArrayForLoops
public static void rewriteArrayForLoops(java.util.List<Op03SimpleStatement> statements)
-
rewriteIteratorWhileLoop
private static void rewriteIteratorWhileLoop(Op03SimpleStatement loop, java.util.List<Op03SimpleStatement> statements)
-
rewriteIteratorWhileLoops
public static void rewriteIteratorWhileLoops(java.util.List<Op03SimpleStatement> statements)
-
-