Merge "Inline MethodItem#hasSameValue" am: 669c2e20e8 am: 5647d47fcd am: 6ac710229b

Original change: https://android-review.googlesource.com/c/platform/tools/metalava/+/2011756

Change-Id: I0d0f4aea6d7a2f6cd1596ee29206a0cd0eb3c9a3