boolean (@NotNull VirtualFile fileOrDirectory, @Nullable Project project) { if (super.canImport(fileOrDirectory, project)) return true; if (!fileOrDirectory.isDirectory()) { return MavenUtil.isPomFileIgnoringName(project, fileOrDirectory); } return false; }