code: public <C extends Closeable> C register(@Nullable C closeable)
    {
      if (closeable != null) {
        stack.addFirst(closeable);
      }
  
      return closeable;
    }
docs: close. this word no longer has any meaning to me.