void (@NotNull AnActionEvent e) { Predicate<SdkTypeId> predicate = notSimpleJavaSdkType(); SdkPopupFactory .newBuilder() .withProject(myProject) .withProjectSdksModel(getJdksTreeModel()) .withSdkTypeFilter(predicate::test) .withSdkFilter(sdk -> false) .buildPopup() .showPopup(e); }