extract class: do not generate calls for getters/setters which do not exist ( IDEA-53442)

This commit is contained in:
anna
2010-04-28 13:15:25 +04:00
parent 73d7f2e193
commit ab9827497d
8 changed files with 233 additions and 151 deletions
@@ -1,6 +0,0 @@
public class Extracted {
int myT;
public Extracted() {
}
}
@@ -1,10 +1,9 @@
class Test {
final Extracted extracted = new Extracted();
public int getMyT() {
return extracted.getMyT();
int myT;
public int getMyT() {
return myT;
}
void bar(){
int i = extracted.getMyT();
int i = myT;
}
}