void (@NotNull PsiEnumConstant enumConstant) { if (myRole2 == ChildRole.ARGUMENT_LIST) { createSpaceInCode(mySettings.SPACE_BEFORE_METHOD_CALL_PARENTHESES); } else if (myRole2 == ChildRole.ANONYMOUS_CLASS) { myResult = getSpaceBeforeLBrace(myChild2, mySettings.SPACE_BEFORE_CLASS_LBRACE, null); } else if (myRole1 == ChildRole.MODIFIER_LIST && myRole2 == ChildRole.NAME) { createSpaceInCode(true); } else if (myRole1 == ChildRole.DOC_COMMENT && myRole2 == ChildRole.NAME) { createParenthSpace(true, true); } }