Prevent comparable annotations from being applied twice

The annotation transaction builder should use #containsComparable
instead of #contains.

Bug: 52189
Change-Id: I139db1d9cad8c0fabefe17d86423c999478b97d1
Merge "Prevent comparable annotations from being applied twice"