String (@NotNull PsiElement element) { final PsiBinaryExpression expression = (PsiBinaryExpression)element; final PsiJavaToken sign = expression.getOperationSign(); String operatorText = sign.getText(); String flippedOperatorText = ComparisonUtils.getFlippedComparison(sign.getTokenType()); if (operatorText.equals(flippedOperatorText)) { return IntentionPowerPackBundle.message("flip.smth.intention.name", operatorText); } else { return IntentionPowerPackBundle.message( "flip.comparison.intention.name", operatorText, flippedOperatorText); } }