type migration: normalize declaration so it's possible to migrate separate parts (IDEA-132521)

This commit is contained in:
Anna Kozlova
2014-11-10 17:53:59 +01:00
parent a05adb95b5
commit 657b346513
3 changed files with 9 additions and 35 deletions
@@ -1,13 +1,8 @@
Types:
PsiField:bar : int
PsiField:foo : int
PsiParameter:bar : int
PsiParameter:foo : int
PsiReferenceExpression:bar : int
PsiReferenceExpression:bar : int
PsiReferenceExpression:foo : int
PsiReferenceExpression:foo : int
PsiReferenceExpression:this.bar : int
PsiReferenceExpression:this.foo : int
Conversions:
@@ -1,5 +1,6 @@
class Test {
private int foo, bar;
private int foo;
private long bar;
public long getFoo() {
return foo;
@@ -13,7 +14,7 @@ class Test {
return bar;
}
public void setBar(int bar) {
public void setBar(long bar) {
this.bar = bar;
}
}