All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
private void |
addToSwitch(Op04StructuredStatement swtch,
Op04StructuredStatement add) |
private SwitchExpressionRewriter.ClassifiedStm |
classify(Op04StructuredStatement item) |
private void |
combineEmptySwitchWithCreation(SwitchExpressionRewriter.ClassifiedStm switchStm,
SwitchExpressionRewriter.ClassifiedStm assignStm) |
private void |
combineSwitchExpressionWithOther(SwitchExpressionRewriter.ClassifiedStm switchExpression,
SwitchExpressionRewriter.ClassifiedStm other) |
private void |
doAggressiveTransforms(Op04StructuredStatement root) |
private void |
doTransform(Op04StructuredStatement root) |
private Expression |
extractSwitchEntry(LValue target,
BlockIdentifier blockIdentifier,
Op04StructuredStatement body,
java.util.List<Pair<Op04StructuredStatement,StructuredStatement>> replacements,
boolean last) |
private Pair<StructuredCase,Expression> |
extractSwitchEntryPair(LValue target,
BlockIdentifier blockIdentifier,
Op04StructuredStatement item,
java.util.List<Pair<Op04StructuredStatement,StructuredStatement>> replacements,
boolean last) |
private LValue |
extractSwitchLValue(BlockIdentifier blockIdentifier,
Op04StructuredStatement item,
boolean last) |
private SwitchExpressionRewriter.RollState |
getRollState(Op04StructuredStatement body) |
private boolean |
isConstructorChain(Op04StructuredStatement item) |
private boolean |
prequelAssign(Op04StructuredStatement item,
java.util.Set<Expression> directs) |
private boolean |
replaceSwitch(Op04StructuredStatement container,
java.util.List<StructuredStatement> structuredStatements,
StructuredScope scope) |
void |
rewrite(Op04StructuredStatement root,
StructuredScope scope) |
private void |
rewriteBlockSwitches(Op04StructuredStatement root) |
private boolean |
rollOne(Op04StructuredStatement root,
UnaryFunction<SwitchExpressionRewriter.RollState,java.lang.Boolean> apply) |
private boolean |
rollSingleDefault(SwitchExpressionRewriter.RollState rollState) |
private boolean |
rollUpEmptySwitchAggregation(SwitchExpressionRewriter.RollState rollState) |
private boolean |
rollUpEmptySwitchCreation(SwitchExpressionRewriter.RollState rollState) |
private boolean |
rollUpEmptySwitches(SwitchExpressionRewriter.RollState rollState) |
void |
transform(Op04StructuredStatement root) |
StructuredStatement |
transform(StructuredStatement in,
StructuredScope scope) |