protected void processDroppedDirectories(@NotNull List<? extends VirtualFile> dirs) {
    if (dirs.isEmpty()) return;
    Module[] modules = ModuleManager.getInstance(myProject).getModules();
    if (modules.length == 0) return;
    final Module module = modules[0];
    ModuleRootModificationUtil.updateModel(module, model -> {
      for (VirtualFile file : dirs) {
        model.addContentEntry(file);
      }
    });
  }
protected void processDroppedDirectories(@NotNull List<? extends VirtualFile> dirs)