IDEA-111144 'Generate Getter' should add @Override if needed

This commit is contained in:
peter
2013-08-01 16:44:26 +02:00
parent ec8fcaccce
commit 0cfc3b5f9e
15 changed files with 76 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
// "Create getter for 's'" "true"
public class A extends Parent{
private String s;
@Override
public String getS() {
return s;
}
}
class Parent {
public String getS() {}
}

View File

@@ -0,0 +1,8 @@
// "Create getter for 's'" "true"
public class A extends Parent{
private String <caret>s;
}
class Parent {
public String getS() {}
}