Inspections: Add inspection on equals()/hashCode()

This commit is contained in:
Alexey Sedunov
2015-10-15 18:57:08 +03:00
parent 127cb36602
commit 6f5d977728
8 changed files with 222 additions and 23 deletions
@@ -0,0 +1,6 @@
<html>
<body>
This inspection reports classes that override equals() but do not override hashCode(), or vice versa, which could potentially lead to problems when class is added to a Collection.
It also reports object declarations which override either equals() or hashCode()
</body>
</html>