void (@NotNull PsiStatement statement) { super.visitStatement(statement); if (statement instanceof PsiEmptyStatement || statement instanceof PsiBlockStatement) { return; } final PsiElement parent = statement.getParent(); if (parent instanceof PsiForStatement forStatement) { if (forStatement.getInitialization() == statement || forStatement.getUpdate() == statement) { return; } } m_statementCount++; }