void getEntries(ArrayList/* <TXEntryStateWithRegionAndKey> */ entries, InternalRegion r) {
    for (final Entry<Object, TXEntryState> objectTXEntryStateEntry : entryMods.entrySet()) {
      Object eKey = ((Entry) objectTXEntryStateEntry).getKey();
      TXEntryState txes = (TXEntryState) ((Entry) objectTXEntryStateEntry).getValue();
      entries.add(new TXState.TXEntryStateWithRegionAndKey(txes, r, eKey));
    }
  }
Put all the entries this region knows about into the given "entries" list as instances of
TXEntryStateWithRegionAndKey.
geode-core/src/main/java/org/apache/geode/internal/cache/TXRegionState.java