@Override
    public void visitClass(@NotNull PsiClass aClass) {
      if (!InheritanceUtil.isInheritor(aClass,
                                       "java.lang.SecurityManager")) {
        return;
      }
      if ("java.lang.SecurityManager".equals(aClass.getQualifiedName())) {
        return;
      }
      registerClassError(aClass);
    }
@Override
    public void visitClass(@NotNull PsiClass aClass)