Package japicmp.model
Class JApiSerialVersionUid
java.lang.Object
japicmp.model.JApiSerialVersionUid
This class represents changes regarding the Java Object Serialization Specification
(see http://docs.oracle.com/javase/7/docs/platform/serialization/spec/serialTOC.html).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default serialVersionUID value as defined in the Java Object Serialization Specification for the new version of the class.Returns the default serialVersionUID value as defined in the Java Object Serialization Specification for the old version of the class.Returns the value of the serialVersionUID field in the new class (if present).Returns the value of the serialVersionUID field in the old class (if present).boolean
Returns true if the new version of the class is serializable.boolean
Returns true if the old version of the class is serializable.
-
Field Details
-
serializableOld
private final boolean serializableOld -
serializableNew
private final boolean serializableNew -
serialVersionUidDefaultOld
-
serialVersionUidDefaultNew
-
serialVersionUidInClassOld
-
serialVersionUidInClassNew
-
-
Constructor Details
-
JApiSerialVersionUid
-
-
Method Details
-
isSerializableOld
public boolean isSerializableOld()Returns true if the old version of the class is serializable.- Returns:
- if the old version of the class is serializable
-
isSerializableNew
public boolean isSerializableNew()Returns true if the new version of the class is serializable.- Returns:
- if the new version of the class is serializable
-
getSerialVersionUidDefaultOld
Returns the default serialVersionUID value as defined in the Java Object Serialization Specification for the old version of the class.- Returns:
- the default serialVersionUID
-
getSerialVersionUidDefaultNew
Returns the default serialVersionUID value as defined in the Java Object Serialization Specification for the new version of the class.- Returns:
- the default serialVersionUID
-
getSerialVersionUidInClassOld
Returns the value of the serialVersionUID field in the old class (if present).- Returns:
- the value of the serialVersionUID field in the old class
-
getSerialVersionUidInClassNew
Returns the value of the serialVersionUID field in the new class (if present).- Returns:
- the value of the serialVersionUID field in the new class
-
getSerialVersionUidInClassOldAsString
-
getSerialVersionUidInClassNewAsString
-
getSerialVersionUidDefaultOldAsString
-
getSerialVersionUidDefaultNewAsString
-