|
|
@ -104,17 +104,8 @@ public class CodeAnalyzer implements Analyzer, Constants { |
|
|
|
// new CreateNewConstructor(),
|
|
|
|
// new CreateNewConstructor(),
|
|
|
|
// new CombineIfGotoExpressions(),
|
|
|
|
// new CombineIfGotoExpressions(),
|
|
|
|
// new CreateIfThenElseOperator(),
|
|
|
|
// new CreateIfThenElseOperator(),
|
|
|
|
// new CreateConstantArray()
|
|
|
|
// new CreateConstantArray(),
|
|
|
|
}; |
|
|
|
// new SimplifyExpression()
|
|
|
|
|
|
|
|
|
|
|
|
static Transformation[] simplifyTrafos = { new SimplifyExpression() }; |
|
|
|
|
|
|
|
static Transformation[] blockTrafos = { |
|
|
|
|
|
|
|
new CreateDoWhileStatements(), |
|
|
|
|
|
|
|
new CreateTryCatchStatements(), |
|
|
|
|
|
|
|
new CreateIfStatements(), |
|
|
|
|
|
|
|
new CreateBreakStatement(), |
|
|
|
|
|
|
|
new CreateWhileStatements(), |
|
|
|
|
|
|
|
new CreateSwitchStatements() |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
public void analyze() |
|
|
|
public void analyze() |
|
|
|