Refactoring: make "replace call with binary operator" an inspection

This commit is contained in:
Mikhail Glukhikh
2017-12-20 16:02:15 +03:00
parent 6d4b5bc48f
commit ada7287c66
69 changed files with 320 additions and 321 deletions
@@ -1,6 +0,0 @@
a + b
a - b
a * b
a / b
a % b
a .. b
@@ -1,6 +0,0 @@
a.plus(b)
a.minus(b)
a.times(b)
a.div(b)
a.mod(b)
a.rangeTo(b)
@@ -1,6 +0,0 @@
<html>
<body>
This intention replaces any calls to infix operators
(<code>plus</code>, <code>minus</code>, <code>div</code>, <code>times</code>, <code>mod</code>, <code>rangeTo</code>) with their respective infixes.
</body>
</html>