String (@NotNull PsiElement element) { final PsiPolyadicExpression binaryExpression = (PsiPolyadicExpression)element; final IElementType tokenType = binaryExpression.getOperationTokenType(); if (tokenType.equals(JavaTokenType.ANDAND)) { return CommonQuickFixBundle.message("fix.replace.x.with.y", "&&", "||"); } else { return CommonQuickFixBundle.message("fix.replace.x.with.y", "||", "&&"); } }