/** * Return the serialVersionUID for this class. The serialVersionUID defines a set of classes all with the same name * that have evolved from a common root class and agree to be serialized and deserialized using a common format. */ public static final long getSerialVersionUID(Class<?> clazz) { ObjectStreamClass_1_3_1 theosc = ObjectStreamClass_1_3_1.lookup(clazz); if (theosc != null) { return theosc.getSerialVersionUID(); } return 0; }
/** * Return the serialVersionUID for this class. The serialVersionUID defines a set of classes all with the same name * that have evolved from a common root class and agree to be serialized and deserialized using a common format. */ public static final long getSerialVersionUID(Class<?> clazz) { ObjectStreamClass_1_3_1 theosc = ObjectStreamClass_1_3_1.lookup(clazz); if (theosc != null) { return theosc.getSerialVersionUID(); } return 0; }
long declaredLong = ObjectStreamClass_1_3_1.getSerialVersionUID(clazz); String declared = null; if (declaredLong == 0)
long declaredLong = ObjectStreamClass_1_3_1.getSerialVersionUID(clazz); String declared = null; if (declaredLong == 0)