public static void insertImport(PsiElement anchor, Collection<? extends PsiNamedElement> elements) {
    for (PsiNamedElement newClass : elements) {
      insertImport(anchor, newClass);
    }
  }
public static void insertImport(PsiElement anchor, Collection<? extends PsiNamedElement> elements)