JavaReplaceChoice (@NotNull LinkedHashMap<JavaReplaceChoice, List<PsiExpression>> occurrencesMap, @NotNull JavaReplaceChoice replaceChoice) { return ContainerUtil.find(occurrencesMap.entrySet(), entry -> { return entry.getKey().formatDescription(0).equals(replaceChoice.formatDescription(0)); }).getKey(); }