void (@Nullable Set<? extends TextRange> textRanges) { myDuplicates = Optional.ofNullable(getExactDuplicatesFinder()) .map(finder -> finder.findDuplicates(myTargetClass)) .orElse(new ArrayList<>()); }