public static int getEntryIdentifier(int resId) {
    return resId & 0x0000FFFF;
  }
@Test
  public void testGetEntryIdentifier() {
    assertThat(ResourceIds.getEntryIdentifier(0x01019876)).isEqualTo(0x9876);
    assertThat(ResourceIds.getEntryIdentifier(0x7F781234)).isEqualTo(0x1234);
  }