'Specify explicit type' action refactoring

This commit is contained in:
Mikhael Bogdanov
2013-02-18 18:31:59 +04:00
parent d8ea6a3a59
commit 5460f984e9
12 changed files with 259 additions and 62 deletions
@@ -63,7 +63,7 @@ public class JetPsiFactory {
}
//the pair contains the first and the last elements of a range
public static Pair<PsiElement, PsiElement> createColon(Project project) {
public static Pair<PsiElement, PsiElement> createColonAndWhiteSpaces(Project project) {
JetProperty property = createProperty(project, "val x : Int");
return Pair.create(property.findElementAt(5), property.findElementAt(7));
}