It's well known that runtime will genereate serialVersionUID field for your class, if you failed to explicitly define it.
But is it possible to get this value in runitme? Is it possible in runtime, having reference to .class, obtain it's serialVersionUID?
Integer i = new Integer(5);
long serialVersionID = ObjectStreamClass.lookup(i.getClass()).getSerialVersionUID();
Above is the sample code to get serial version id of the class at runtime.