mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract class: do not generate calls for getters/setters which do not exist ( IDEA-53442)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user