public PsiFile resolve(MavenId id, ConvertContext context) {
      PsiManager psiManager = context.getPsiManager();
      MavenProjectsManager projectsManager = MavenProjectsManager.getInstance(psiManager.getProject());

      PsiFile result = resolveBySpecifiedPath();
      if (result != null) return result;

      result = resolveInProjects(id, projectsManager, context);
      if (result != null) return result;

      return resolveInLocalRepository(id, projectsManager, psiManager);
    }
public PsiFile resolve(MavenId id, ConvertContext context)