boolean (PsiStatement @NotNull [] thenBranch) { if (thenBranch.length <= SIMILAR_STATEMENTS_COUNT) return false; PsiExpressionStatement expressionStatement = tryCast(thenBranch[0], PsiExpressionStatement.class); return isSimilarStatements(thenBranch, expressionStatement); }