code: @SuppressWarnings("unchecked")
      public static <T> T newArray(final Class<?> componentType, final int length) {
          //        if (length == 0) {
          //            final Object result = CLASS_EMPTY_ARRAY.get(componentType);
          //
          //            if (result != null) {
          //                return (T) result;
          //            }
          //        }
  
          return (T) Array.newInstance(componentType, length);
      }
docs: Method newArray.
  
  @param componentType
  @param length
  @return T[]