New Intention Action: Replace with operator assign

Replaces a statement of the form a = a + b with a statement of the form
a += b.
This commit is contained in:
Pradyoth Kukkapalli
2014-04-05 01:03:12 -04:00
parent 8777ab9ee8
commit 249af96d3c
23 changed files with 265 additions and 1 deletions
@@ -386,6 +386,7 @@ fun main(args: Array<String>) {
model("intentions/convertNegatedExpressionWithDemorgansLaw", testMethod = "doTestConvertNegatedExpressionWithDemorgansLaw")
model("intentions/swapBinaryExpression", testMethod = "doTestSwapBinaryExpression")
model("intentions/splitIf", testMethod = "doTestSplitIf")
model("intentions/replaceWithOperatorAssign", testMethod = "doTestReplaceWithOperatorAssign")
}
testClass(javaClass<AbstractJetInspectionTest>()) {