public static <T> void assertAllElementsNotNull(T @NotNull [] array) {
    int i = ArrayUtil.indexOfIdentity(array, null);
    if (i != -1) {
      throw new NullPointerException("Element [" + i + "] is null");
    }
  }
public static <T> void assertAllElementsNotNull(T @NotNull [] array)