Source: equalsverifier Section: java Maintainer: Debian Java Maintainers Uploaders: Emmanuel Bourg Build-Depends: debhelper-compat (= 13), default-jdk (>= 2:1.25), kotlin, libbyte-buddy-java, libmaven-assembly-plugin-java, libmockito-java, libobjenesis-java, maven-debian-helper Standards-Version: 4.7.4 Vcs-Git: https://salsa.debian.org/java-team/equalsverifier.git Vcs-Browser: https://salsa.debian.org/java-team/equalsverifier Homepage: https://jqno.nl/equalsverifier Package: libequalsverifier-java Architecture: all Multi-Arch: foreign Depends: ${maven:Depends}, ${misc:Depends} Suggests: ${maven:OptionalDepends} Description: Java library to test equals() and hashCode() contracts EqualsVerifier verifies, in a single line of test code, that the contract between the equals() and hashCode() methods of a class is respected. It is designed to be called from a JUnit test. . It checks every rule of the contract, including the ones that are easily overlooked: reflexivity, symmetry, transitivity, consistency and the handling of null, but also the mistakes that tend to go unnoticed until they cause a bug in production, such as forgetting to override hashCode(), using getClass() instead of instanceof, taking mutable or transient fields into account, and breaking the contract in a subclass.