code: @SuppressWarnings("unchecked")
      public static <T> T unwrap(T instance) {
          return instance instanceof Decorator ? unwrap(((Decorator<T>) instance).delegate) : instance;
      }
docs: This method is recursive.
  
  @return the underlying delegate instance