void () { doTest("enum E {\n" + " E1() { };\n" + " abstract void m();\n" + "}\n" + "public enum U { U1, U2 }", "PsiJavaFileStub []\n" + " IMPORT_LIST:PsiImportListStub\n" + " CLASS:PsiClassStub[enum name=E fqn=E]\n" + " MODIFIER_LIST:PsiModifierListStub[mask=5120]\n" + " TYPE_PARAMETER_LIST:PsiTypeParameterListStub\n" + " EXTENDS_LIST:PsiRefListStub[EXTENDS_LIST:]\n" + " IMPLEMENTS_LIST:PsiRefListStub[IMPLEMENTS_LIST:]\n" + " ENUM_CONSTANT:PsiFieldStub[enumconst E1:E]\n" + " MODIFIER_LIST:PsiModifierListStub[mask=25]\n" + " ENUM_CONSTANT_INITIALIZER:PsiClassStub[anonymous enumInit name=null fqn=null baseref=E]\n" + " METHOD:PsiMethodStub[m:void]\n" + " MODIFIER_LIST:PsiModifierListStub[mask=5120]\n" + " TYPE_PARAMETER_LIST:PsiTypeParameterListStub\n" + " PARAMETER_LIST:PsiParameterListStub\n" + " THROWS_LIST:PsiRefListStub[THROWS_LIST:]\n" + " CLASS:PsiClassStub[enum name=U fqn=U]\n" + " MODIFIER_LIST:PsiModifierListStub[mask=17]\n" + " TYPE_PARAMETER_LIST:PsiTypeParameterListStub\n" + " EXTENDS_LIST:PsiRefListStub[EXTENDS_LIST:]\n" + " IMPLEMENTS_LIST:PsiRefListStub[IMPLEMENTS_LIST:]\n" + " ENUM_CONSTANT:PsiFieldStub[enumconst U1:U]\n" + " MODIFIER_LIST:PsiModifierListStub[mask=25]\n" + " ENUM_CONSTANT:PsiFieldStub[enumconst U2:U]\n" + " MODIFIER_LIST:PsiModifierListStub[mask=25]\n"); }