JavaClassElementType (final boolean anonymous, final boolean enumConst, final boolean unnamedClass) { return enumConst ? JavaStubElementTypes.ENUM_CONSTANT_INITIALIZER : unnamedClass ? JavaStubElementTypes.UNNAMED_CLASS : anonymous ? JavaStubElementTypes.ANONYMOUS_CLASS : JavaStubElementTypes.CLASS; }