New Intention Action: Replace with traditional assign.

This takes an expression of the form a += b and converts it to an
expression form a = a + b.
This commit is contained in:
Pradyoth Kukkapalli
2014-04-05 01:13:49 -04:00
parent 249af96d3c
commit eb3ddf50bf
15 changed files with 145 additions and 1 deletions
@@ -387,6 +387,7 @@ fun main(args: Array<String>) {
model("intentions/swapBinaryExpression", testMethod = "doTestSwapBinaryExpression")
model("intentions/splitIf", testMethod = "doTestSplitIf")
model("intentions/replaceWithOperatorAssign", testMethod = "doTestReplaceWithOperatorAssign")
model("intentions/replaceWithTraditionalAssignment", testMethod = "doTestReplaceWithTraditionalAssignment")
}
testClass(javaClass<AbstractJetInspectionTest>()) {