private void addReferenceToResults(@NotNull Pair<ReferenceInjector, Place> pair) {
    if (resultReferences == null) {
      resultReferences = new SmartList<>();
    }
    resultReferences.add(pair);
  }
private void addReferenceToResults(@NotNull Pair<ReferenceInjector, Place> pair)