PsiFile (MavenId id, MavenProjectsManager projectsManager, ConvertContext context) { MavenProject project = resolveMavenProject(id, projectsManager, context); return project == null ? null : context.getPsiManager().findFile(project.getFile()); }