mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
generate getter/setter: allow public getter for public enum (IDEA-103718)
(cherry picked from commit bb95544d55937ef04d739a4c01839280a4eefb67)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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