private static boolean contains(@NotNull Iterable<PsiRequiresStatement> requires, @NotNull String name) {
    for (PsiRequiresStatement statement : requires) {
      if (name.equals(statement.getModuleName())) return true;
    }
    return false;
  }
private static boolean contains(@NotNull Iterable<PsiRequiresStatement> requires, @NotNull String name)