void () { if (JdkEx.isTabbingModeAvailable()) { IdeFrame[] frames = WindowManager.getInstance().getAllProjectFrames(); if (frames.length > 1) { for (IdeFrame frame : frames) { if (!frame.isInFullScreen()) { return; } } if (Foundation.invoke("NSWindow", "userTabbingPreference").intValue() == 2/*NSWindowUserTabbingPreferenceInFullScreen*/) { mergeAllWindows(Objects.requireNonNull(((ProjectFrameHelper)frames[0]).getFrame()), false); } } } }