void (@NotNull Project project, @NotNull PsiElement ifKeywordElement, @NotNull ModPsiUpdater updater) { final GrIfStatement statement = (GrIfStatement) ifKeywordElement.getParent(); if (isSimplifiableAssignment(statement)) { replaceSimplifiableAssignment(statement); } else if (isSimplifiableReturn(statement)) { replaceSimplifiableReturn(statement); } else if (isSimplifiableImplicitReturn(statement)) { replaceSimplifiableImplicitReturn(statement); } else if (isSimplifiableAssignmentNegated(statement)) { replaceSimplifiableAssignmentNegated(statement); } else if (isSimplifiableReturnNegated(statement)) { replaceSimplifiableReturnNegated(statement); } else if (isSimplifiableImplicitReturnNegated(statement)) { replaceSimplifiableImplicitReturnNegated(statement); } else if (isSimplifiableImplicitAssignment(statement)) { replaceSimplifiableImplicitAssignment(statement); } else if (isSimplifiableImplicitAssignmentNegated(statement)) { replaceSimplifiableImplicitAssignmentNegated(statement); } }