private void deserializeMethod ( ObjectInput stream ) throws IOException , ClassNotFoundException { MethodValues method = null ; if ( SERIALIZATION_V2 == getDeserializationVersion ( ) ) { method = MethodValues . find ( readByteArray ( stream ) ) ; } else { method = MethodValues . find ( ( String ) stream . readObject ( ) ) ; } if ( null == method ) { throw new IOException ( "Missing method" ) ; } setMethod ( method ) ; }
Deserialize the method information from the input stream .