void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiElement parent = element.getParent(); if (!(parent instanceof GrConditionalExpression expression)) return; final GrExpression thenBranch = expression.getThenBranch(); GrInspectionUtil.replaceExpression(expression, thenBranch.getText()); }