@Override
    public PsiReference @NotNull [] getReferencesByElement(@NotNull final PsiElement element, @NotNull final ProcessingContext context) {
      final XmlText xmlText = (XmlText)element.getParent();
      PsiFile xmlFile = element.getContainingFile();
      VirtualFile virtualFile = xmlFile.getVirtualFile();
      if (virtualFile == null) {
        virtualFile = xmlFile.getOriginalFile().getVirtualFile();
      }
      if (!MavenUtil.isPomFile(element.getProject(), virtualFile)) return PsiReference.EMPTY_ARRAY;

      if (!MavenPluginParamInfo.isSimpleText(xmlText)) return PsiReference.EMPTY_ARRAY;

      MavenPluginParamInfo.ParamInfoList paramInfos = MavenPluginParamInfo.getParamInfoList(xmlText);
      for (ParamInfo info : paramInfos) {
        MavenParamReferenceProvider providerInstance = info.getProviderInstance();
        if (providerInstance != null) {
          return providerInstance.getReferencesByElement(element, paramInfos.getDomCfg(), context);
        }
      }

      return PsiReference.EMPTY_ARRAY;
    }
@Override
    public PsiReference @NotNull [] getReferencesByElement(@NotNull final PsiElement element, @NotNull final ProcessingContext context)