Collection<String> (IdeaPlugin ideaPlugin) { final VirtualFile currentFile = getVirtualFile(ideaPlugin); if (currentFile == null) { return Collections.emptySet(); } final Project project = ideaPlugin.getManager().getProject(); return getDependencies(project, currentFile); }