@Override
  public List<UsageInfo> findUsages(PsiFile file, PsiDirectory newParent, boolean searchInComments, boolean searchInNonJavaFiles) {
    if (file != null) {
      file.putUserData(ORIGINAL_FILE_LOCATION, file.getVirtualFile().getUrl());
      final List<UsageInfo> usages = PyPsiIndexUtil.findUsages(file, false);
      return ContainerUtil.map(usages, usage -> {
        final PsiElement element = usage.getElement();
        if (element != null) {
          return new PyUsageInfo(element, file);
        }
        return usage;
      });
    }
    return null;
  }
@Override
  public List<UsageInfo> findUsages(PsiFile file, PsiDirectory newParent, boolean searchInComments, boolean searchInNonJavaFiles)