String (@NotNull PsiElement element) { if (element instanceof PsiBinaryExpression) { final PsiBinaryExpression exp = (PsiBinaryExpression)element; final PsiJavaToken sign = exp.getOperationSign(); final IElementType tokenType = sign.getTokenType(); final String operatorString; if (tokenType.equals(JavaTokenType.LTLT)) { operatorString = "*"; } else { operatorString = "/"; } return CommonQuickFixBundle.message("fix.replace.x.with.y", sign.getText(), operatorString); } else { final PsiAssignmentExpression exp = (PsiAssignmentExpression)element; final PsiJavaToken sign = exp.getOperationSign(); final IElementType tokenType = sign.getTokenType(); final String assignString; if (JavaTokenType.LTLTEQ.equals(tokenType)) { assignString = "*="; } else { assignString = "/="; } return CommonQuickFixBundle.message("fix.replace.x.with.y", sign.getText(), assignString); } }