generate getter/setter: allow public getter for public enum (IDEA-103718)

(cherry picked from commit bb95544d55937ef04d739a4c01839280a4eefb67)
This commit is contained in:
anna
2013-03-25 10:02:24 +01:00
parent 788523c5c6
commit b95a271d12
3 changed files with 24 additions and 5 deletions

View File

@@ -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;
}
}

View File

@@ -0,0 +1,9 @@
// "Create getter for '_i'" "true"
public enum TestEnum {
;
private final int _<caret>i;
private TestEnum(int _i) {
this._i = _i;
}
}