docs: @SuppressWarnings("unchecked")
      @NonNull
      public static <T> List<T> unmodifiableNonNullList(@Nullable List<T> list) {
          return list == null || list.isEmpty()
                  ? (List<T>) emptyList()
                  : unmodifiableList(list);
      }