mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
process enum constant resolve separately (IDEA-162975)
EA-97195 - assert: PsiEnumConstantImpl.resolveMethodGenerics
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// "Permute arguments" "false"
|
||||
enum SomeEnum {
|
||||
VALUE_ONE(false, true),
|
||||
VALUE_TWO(VALUE_ONE, fal<caret>se, false);
|
||||
|
||||
private final boolean flagOne;
|
||||
private final boolean flagTwo;
|
||||
private final SomeEnum parent;
|
||||
|
||||
SomeEnum(boolean flagOne, boolean flagTwo) {
|
||||
this(flagOne, flagTwo, null);
|
||||
}
|
||||
|
||||
SomeEnum(boolean flagOne, boolean flagTwo, SomeEnum parent) {
|
||||
this.flagOne = flagOne;
|
||||
this.flagTwo = flagTwo;
|
||||
this.parent = parent;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user