FindBugs reports bugs for calls to equals(Object)
when the two objects are not of the same type, which handles this problem nicely.
They will show up in the Bug Explorer under:
- Scariest
- High confidence
- Call to equals() comparing different types
- High confidence