void (@NotNull PsiIfStatement statement) { MapCheckCondition condition = fromConditional(statement, myTreatGetNullAsContainsKey); if(condition == null) return; PsiStatement existsBranch = ControlFlowUtils.stripBraces(condition.getExistsBranch(statement.getThenBranch(), statement.getElseBranch())); PsiStatement noneBranch = ControlFlowUtils.stripBraces(condition.getNoneBranch(statement.getThenBranch(), statement.getElseBranch())); if(existsBranch == null) { processSingleBranch(condition, noneBranch); } else { if(mySuggestMapMerge && condition.isGetNull()) { processMerge(condition, existsBranch, noneBranch); } if(condition.hasVariable()) return; EquivalenceChecker.Match match = getCanonicalPsiEquivalence().statementsMatch(noneBranch, existsBranch); processGetPut(condition, existsBranch, match.getRightDiff(), match.getLeftDiff()); } }