code: @SuppressWarnings("unchecked")
      public Object transform(final Object obj) {
          if (obj != null && !(obj instanceof BeanMap)) {
              Class clazz = obj.getClass();
              if (clazz.isArray()) {
                  return _transform((Object[]) obj);
              } else if (obj instanceof Map) {
                  return _transform((Map) obj);
              } else if (obj instanceof List) {
                  return _transform((List) obj);
              } else if (obj instanceof Set) {
                  return _transform((Set) obj);
              } else if (obj instanceof Collection) {
                  return _transform((Collection) obj);
              } else if (obj instanceof Iterable) {
                  return _transform((Iterable) obj);
              } else if (obj instanceof Iterator) {
                  return _transform((Iterator) obj);
              } else if (needTransform(obj)) {
                  return onTransform(obj);
              }
          }
          return obj;
      }
docs: <p>transform.</p>
  
  @param obj a {@link java.lang.Object} object.
  @return a {@link java.lang.Object} object.