@Override
      public void visitElement(@NotNull PsiElement element) {
        if (!(element instanceof PsiLanguageInjectionHost)) { // ignore contributed references from languages and plugins
          for (PsiReference reference : element.getReferences()) {
            if (reference.resolve() == null) {
              for (ReferenceImporter importer : referenceImporters) {
                BooleanSupplier action = importer.computeAutoImportAtOffset(editor, file, element.getTextRange().getStartOffset(), true);
                if (action != null) {
                  result.add(action);
                }
              }
            }
          }
        }

        super.visitElement(element);
      }
@Override
      public void visitElement(@NotNull PsiElement element)