protected void initDuplicates(@Nullable Set<? extends TextRange> textRanges) {
    myParametrizedDuplicates = ParametrizedDuplicates.findDuplicates(this, MatchType.PARAMETRIZED, textRanges);
    if (myParametrizedDuplicates != null && !myParametrizedDuplicates.isEmpty()) {
      myExactDuplicates = ParametrizedDuplicates.findDuplicates(this, MatchType.EXACT, textRanges);
    }
    myDuplicates = new ArrayList<>();
  }
protected void initDuplicates(@Nullable Set<? extends TextRange> textRanges)