mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
generate getter/setter: allow public getter for public enum (IDEA-103718)
(cherry picked from commit bb95544d55937ef04d739a4c01839280a4eefb67)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Create getter for '_i'" "true"
|
||||
public enum TestEnum {
|
||||
;
|
||||
private final int _i;
|
||||
|
||||
private TestEnum(int _i) {
|
||||
this._i = _i;
|
||||
}
|
||||
|
||||
private int get_i() {
|
||||
return _i;
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Create getter for '_i'" "true"
|
||||
public enum TestEnum {
|
||||
;
|
||||
private final int _<caret>i;
|
||||
|
||||
private TestEnum(int _i) {
|
||||
this._i = _i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user