void ( @NotNull PsiAnonymousClass aClass) { if (aClass instanceof PsiEnumConstantInitializer) { return; } final int totalMethodCount = calculateTotalMethodCount(aClass); if (totalMethodCount <= getLimit()) { return; } registerClassError(aClass, Integer.valueOf(totalMethodCount)); }