docs: private static Class<?> getClassForType(Type t) {
          if (t instanceof Class) {
              return (Class<?>) t;
          } else if (t instanceof ParameterizedType) {
              ParameterizedType pt = (ParameterizedType) t;
              return getClassForType(pt.getActualTypeArguments()[0]);
          } else if (t instanceof GenericArrayType) {
              throw new IllegalStateException("Data Model Error: Simple deserializer does not handle arrays, please use Collection instead.");
          }
          throw new IllegalStateException("Data Model Error: Unknown type " + t.toString() + ".");
      }