@Override public void visitClass(@NotNull PsiClass aClass) {
        if (!(aClass instanceof PsiAnonymousClass) && !(aClass instanceof PsiTypeParameter)) {
          result.add(new JavaClassTreeElement(aClass, isInherited()));
        }
      }
@Override public void visitClass(@NotNull PsiClass aClass)