String (@NotNull PsiExpression subExpression) { String suffix = ""; if (SideEffectChecker.mayHaveSideEffects(subExpression, e -> shouldIgnore(e, subExpression))) { suffix = canExtractSideEffect(subExpression) ? QuickFixBundle.message("simplify.boolean.expression.extracting.side.effects") : JavaBundle.message("quickfix.text.suffix.may.change.semantics"); } return getIntentionText(subExpression, mySubExpressionValue) + suffix; }