@Override
    protected List<PropertiesFile> retrievePropertyFilesByBundleName(String bundleName, PsiElement element) {
      PsiElement psiElement = CompletionUtil.getOriginalOrSelf(element);
      final String bundleNameToUse =
        ObjectUtils.chooseNotNull(bundleName == null ? getPluginResourceBundle(psiElement) : bundleName,
                                  myFallbackBundleName);
      if (bundleNameToUse == null) {
        return Collections.emptyList();
      }

      final Project project = psiElement.getProject();
      final PropertiesReferenceManager propertiesReferenceManager = PropertiesReferenceManager.getInstance(project);

      final Module module = ModuleUtilCore.findModuleForPsiElement(psiElement);
      if (module != null) {
        List<PropertiesFile> propertiesFiles = propertiesReferenceManager.findPropertiesFiles(module, bundleNameToUse);
        if (!propertiesFiles.isEmpty()) {
          return propertiesFiles;
        }
      }

      return propertiesReferenceManager.findPropertiesFiles(psiElement.getResolveScope(),
                                                            bundleNameToUse, BundleNameEvaluator.DEFAULT);
    }
@Override
    protected List<PropertiesFile> retrievePropertyFilesByBundleName(String bundleName, PsiElement element)