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

This commit is contained in:
peter
2013-08-01 16:57:08 +02:00
parent ec8fcaccce
commit 0cfc3b5f9e
15 changed files with 76 additions and 21 deletions
@@ -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() {}
}
@@ -0,0 +1,8 @@
// "Create getter for 's'" "true"
public class A extends Parent{
private String <caret>s;
}
class Parent {
public String getS() {}
}