public static boolean isCollectionClassOrInterface(PsiClass aClass) {
    return isCollectionClassOrInterface(aClass, new HashSet<>());
  }
public static boolean isCollectionClassOrInterface(PsiClass aClass)