static Collection<String> getDependencies(IdeaPlugin ideaPlugin) {
    final VirtualFile currentFile = getVirtualFile(ideaPlugin);
    if (currentFile == null) {
      return Collections.emptySet();
    }

    final Project project = ideaPlugin.getManager().getProject();
    return getDependencies(project, currentFile);
  }
static Collection<String> getDependencies(IdeaPlugin ideaPlugin)