@SuppressWarnings("unchecked") // Unsafe reflection.
static Set<Entry<JCTree, Integer>> getEntries(EndPosTable table) {
if (isEmpty(table)) {
return Collections.emptySet();
}
IntHashTable rawMap = getMap(table);
Set<Map.Entry<JCTree, Integer>> entries = new HashSet<>();
Object[] objs;
int[] ints;
try {
objs = (Object[]) OBJS_FIELD.get(rawMap);