void addToResults(@NotNull InjectionResult result) {
    if (result.files != null) {
      for (PsiFile file : result.files) {
        addFileToResults(file);
      }
    }
    if (result.references != null) {
      for (Pair<ReferenceInjector, Place> pair : result.references) {
        addReferenceToResults(pair);
      }
    }
  }
void addToResults(@NotNull InjectionResult result)