question: @ SuppressWarnings ( "unchecked typecast" ) public static < T > TypeSerializer < T > deserialize ( byte [ ] bytes ) throws IOException { ByteArrayInputStream bis = new ByteArrayInputStream ( bytes ) ; ObjectInput in = null ; try { in = new ObjectInputStream ( bis ) ; return ( TypeSerializer < T > ) in . readObject ( ) ; } catch ( ClassNotFoundException e ) { throw new IOException ( "Could not deserialize class" ) ; } finally { try { bis . close ( ) ; } catch ( IOException ex ) { } try { if ( in != null ) { in . close ( ) ; } } catch ( IOException ex ) { } } }
target:  Deserializes a serialized TypeSerializer