Add a rule for Incompatible equals comparison

EqualsIncompatibleType checks is for equality test between
objects with incompatibles tpyes will always returns false.

Test: make google-tradefed-all javac-check
RUN_ERROR_PRONE=true
./tests/run_tradefed_presubmit.sh
Bug: 37854485

Change-Id: I4dc2aa122f6fa1da70dd409396d8d86674286d3f
1 file changed
tree: 8717ee9e892b9c1d2cf1945c739eeecf7ace7a69
  1. src/
  2. tests/
  3. .classpath
  4. .gitignore
  5. .project
  6. Android.mk
  7. PREUPLOAD.cfg