String (@NotNull PsiElement element) { final PsiMethodCallExpression call = (PsiMethodCallExpression)element; final PsiReferenceExpression methodExpression = call.getMethodExpression(); @NonNls final String methodName = methodExpression.getReferenceName(); assert methodName != null; if ("equals".equals(methodName) || "equalsIgnoreCase".equals(methodName)) { return IntentionPowerPackBundle.message( "flip.commutative.method.call.intention.name", methodName); } else { return IntentionPowerPackBundle.message( "flip.commutative.method.call.intention.name1", methodName); } }