File (@NotNull Project project, @NotNull MavenId id, @NotNull String extension, @Nullable String classifier) { if (id.getGroupId() == null || id.getArtifactId() == null || id.getVersion() == null) { return null; } MavenProjectsManager projectsManager = MavenProjectsManager.getInstance(project); return makeLocalRepositoryFile(id, projectsManager.getLocalRepository(), extension, classifier); }