void (@NotNull PsiMethod method) { // note: no call to super if (method.getNameIdentifier() == null) { return; } final NegationCountVisitor visitor = new NegationCountVisitor(ignoreInAssert); method.accept(visitor); final int negationCount = visitor.getCount(); if (negationCount <= 3) { return; } if (m_ignoreInEquals && MethodUtils.isEquals(method)) { return; } registerMethodError(method, Integer.valueOf(negationCount)); }