private static boolean isIterable(@Nullable PsiType type) {
    PsiClass aClass = PsiTypesUtil.getPsiClass(type);
    return aClass != null && CommonClassNames.JAVA_LANG_ITERABLE.equals(aClass.getQualifiedName());
  }
private static boolean isIterable(@Nullable PsiType type)