void (@NotNull FileChooserPanel panel, @NotNull AnActionEvent e) { var allowed = WSLUtil.isSystemCompatible() && ourHasWsl.get() && Experiments.getInstance().isFeatureEnabled("wsl.p9.show.roots.in.file.chooser"); e.getPresentation().setEnabledAndVisible(allowed); }