question: public static final void serialize ( final Object object , final OutputStream output ) throws IOException , ReflectiveOperationException { Objects . requireNonNull ( object , "The serializable object is null" ) ; Objects . requireNonNull ( output , "The output stream is null" ) ; final Externalizer externalizer = of ( object . getClass ( ) ) ; try ( final GZIPOutputStream compressed = new GZIPOutputStream ( output ) ) { try ( final ObjectOutputStream objected = new ObjectOutputStream ( compressed ) ) { externalizer . writeExternal ( object , objected ) ; } } }
target:  Serializes an Object to the specified stream using compression. <p> The stream passed in is not closed within this method. This is the responsibility of your application.