@Override
  public PsiElement resolve() {
    VirtualFile baseDir = myPsiFile.getVirtualFile().getParent();
    if (baseDir == null) return null;

    String path = FileUtil.toSystemIndependentName(myText);
    VirtualFile file = baseDir.findFileByRelativePath(path);

    if (file == null || file.isDirectory()) {
      String relPath = FileUtil.toSystemIndependentName(path + "/" + MavenConstants.POM_XML);
      file = baseDir.findFileByRelativePath(relPath);
    }

    if (file == null) {
      PsiFile result =
        MavenAdditionalHightligher.EP.getExtensionList().stream().map(e -> e.resolveModulePsi(myText, myPsiFile, myVirtualFile))
          .filter(it -> it != null).findFirst().orElse(null);
      if (result != null) return result;
    }


    if (file == null) return null;
    return getPsiFile(file);
  }
@Override
  public PsiElement resolve()