Split SpecifyTypeExplicitly intention into two + refactored them completely

This commit is contained in:
Valentin Kipyatkov
2015-05-05 14:45:52 +03:00
parent d956d31012
commit 2d90ee5cad
25 changed files with 251 additions and 215 deletions
@@ -0,0 +1,5 @@
<html>
<body>
This intention removes explicit type specification for local values, variables, properties and functions.
</body>
</html>
@@ -1,5 +0,0 @@
<html>
<body>
This intention adds or removes explicit type specification for local values, variables and properties.
</body>
</html>
@@ -0,0 +1,3 @@
fun main() {
val a <spot>: Array<Int></spot> = array(1, 2, 3)
}
@@ -0,0 +1,3 @@
fun main() {
val <spot>a</spot> = array(1, 2, 3)
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention adds explicit type specification for local values, variables, properties and functions.
</body>
</html>