Class SerializableContract
- java.lang.Object
-
- org.sonar.java.checks.serialization.SerializableContract
-
public final class SerializableContract extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIAL_VERSION_UID_FIELDstatic Set<String>SERIALIZABLE_CONTRACT_METHODS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasSpecialHandlingSerializationMethods(ClassTree classTree)static MethodMatchersreadObjectMatcher(String classFullyQualifiedName)static MethodMatcherswriteObjectMatcher(String classFullyQualifiedName)
-
-
-
Field Detail
-
SERIAL_VERSION_UID_FIELD
public static final String SERIAL_VERSION_UID_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasSpecialHandlingSerializationMethods
public static boolean hasSpecialHandlingSerializationMethods(ClassTree classTree)
-
readObjectMatcher
public static MethodMatchers readObjectMatcher(String classFullyQualifiedName)
-
writeObjectMatcher
public static MethodMatchers writeObjectMatcher(String classFullyQualifiedName)
-
-