boolean (CefBrowser browser, CefFrame frame, String target_url, String target_frame_name) { return myLifeSpanHandler.handleBoolean(browser, handler -> { return handler.onBeforePopup(browser, frame, target_url, target_frame_name); }); }