void (@NotNull PsiClass aClass) { // no call to super, so it doesn't drill down into inner classes final String className = aClass.getName(); if (className == null) { return; } @NonNls final String exception = "Exception"; if (!className.endsWith(exception)) { return; } if (InheritanceUtil.isInheritor(aClass, CommonClassNames.JAVA_LANG_EXCEPTION)) { return; } registerClassError(aClass, className, Boolean.valueOf(isOnTheFly())); }