mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
IDEA-111144 'Generate Getter' should add @Override if needed
This commit is contained in:
@@ -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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user