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
@@ -1,4 +1,5 @@
// "Create class 'A'" "false"
// ACTION: Convert to block body
// ACTION: Remove explicit type specification
// ERROR: Unresolved reference: A
fun foo(): J.<caret>A = throw Throwable("")
@@ -1,5 +1,6 @@
// "Create enum constant 'A'" "false"
// ACTION: Convert to block body
// ACTION: Remove explicit type specification
// ACTION: Create annotation 'A'
// ACTION: Create class 'A'
// ACTION: Create enum 'A'