code: public static Class<?> getUnproxyType(Object object) {
          Class<?> type = null;
          if (isClass(object)) {
              type = (Class<?>) object;
          } else if (object != null) {
              type = object.getClass();
          }
          return type == null ? null : getOriginalUnmockedType(type);
      }
docs: Gets the type.
  
  @param object the object
  @return The type of the of an object.