docs: public static <T> T unproxy(T instance)
    {
      if(instance == null) {
        return null;
      }
      if(!(instance instanceof Proxy)) {
        return instance;
      }
      if(!(Proxy.getInvocationHandler(instance) instanceof InstanceInvocationHandler)) {
        throw new BugError("Cannot unproxy instance |%s|. Proxy handler does not implement |%s|", instance.getClass(), InstanceInvocationHandler.class);
      }
      @SuppressWarnings("unchecked")
      InstanceInvocationHandler<T> handler = (InstanceInvocationHandler<T>)Proxy.getInvocationHandler(instance);
      return handler.getWrappedInstance();
    }