Source:
public void initialize(URL url, ResourceBundle r) { sortedTreeModules.setComparator(treeItemModFuncComparator()); SplitPane.setResizableWithParent(modulesBox, Boolean.FALSE); clearTraceLogsButton.setGraphic(Icon.create().icon(AwesomeIcon.FILE_ALT)); clearTraceLogsButton.setGraphicTextGap(8d); clearTraceLogsButton.setOnAction((e) -> { onTraceLogClear(); }); ErlyBerly.nodeAPI().connectedProperty().addListener(this::onConnected); dbgController.getTraceLogs().addListener(this::traceLogsChanged); tracesBox.setOnMouseClicked(this::onTraceClicked); tracesBox.setCellFactory(new TraceLogListCellFactory()); moduleTraceMenuItem = new MenuItem("Module Trace"); moduleTraceMenuItem.setOnAction(this::onModuleTrace); functionTraceMenuItem = new MenuItem("Function Trace"); functionTraceMenuItem.setOnAction(this::onFunctionTrace); seqTraceMenuItem = new MenuItem("Seq Trace (experimental)"); seqTraceMenuItem.setOnAction(this::onSeqTrace); moduleSourceCodeItem = new MenuItem("View Source Code"); moduleSourceCodeItem.setOnAction(this::onModuleSourceCode); moduleAbstCodeItem = new MenuItem("View Abstracy Code"); moduleAbstCodeItem.setOnAction(this::onModuleAbstCodeItem); modulesTree.setCellFactory((tree) -> { ModFuncGraphic mfg; mfg = new ModFuncGraphic( dbgController::toggleTraceModFunc, dbgController::isTraced ); dbgController.addTraceListener((Observable o) -> { mfg.onTracesChange(); }); return new FXTreeCell<ModFunc>(mfg, mfg); }); modulesTree.setOnKeyReleased(this::onKeyReleaseInModuleTree); modulesTree.setContextMenu(new ContextMenu(moduleTraceMenuItem, functionTraceMenuItem, seqTraceMenuItem, moduleSourceCodeItem, moduleAbstCodeItem)); Bindings.bindContentBidirectional(tracesBox.getItems(), filteredTraces); addModulesFloatySearchControl(); addTraceLogFloatySearchControl(); dbgController.initialize(url, r); }

Target:
public void initialize(URL url, ResourceBundle r) { sortedTreeModules.setComparator(treeItemModFuncComparator()); SplitPane.setResizableWithParent(modulesBox, Boolean.FALSE); clearTraceLogsButton.setGraphic(Icon.create().icon(AwesomeIcon.FILE_ALT)); clearTraceLogsButton.setGraphicTextGap(8d); clearTraceLogsButton.setOnAction((e) -> { onTraceLogClear(); }); ErlyBerly.nodeAPI().connectedProperty().addListener(this::onConnected); dbgController.getTraceLogs().addListener(this::traceLogsChanged); tracesBox.setOnMouseClicked(this::onTraceClicked); tracesBox.setCellFactory(new TraceLogListCellFactory()); moduleTraceMenuItem = new MenuItem("Module Trace"); moduleTraceMenuItem.setOnAction(this::onModuleTrace); functionTraceMenuItem = new MenuItem("Function Trace"); functionTraceMenuItem.setOnAction(this::onFunctionTrace); seqTraceMenuItem = new MenuItem("Seq Trace (experimental)"); seqTraceMenuItem.setOnAction(this::onSeqTrace); SeparatorMenuItem separator = new SeparatorMenuItem(); moduleSourceCodeItem = new MenuItem(VIEW_SOURCE_CODE); moduleSourceCodeItem.setOnAction(this::onModuleCode); moduleAbstCodeItem = new MenuItem(VIEW_ABST_CODE); moduleAbstCodeItem.setOnAction(this::onModuleCode); modulesTree.setCellFactory((tree) -> { ModFuncGraphic mfg; mfg = new ModFuncGraphic( dbgController::toggleTraceModFunc, dbgController::isTraced ); dbgController.addTraceListener((Observable o) -> { mfg.onTracesChange(); }); return new FXTreeCell<ModFunc>(mfg, mfg); }); modulesTree.setOnKeyReleased(this::onKeyReleaseInModuleTree); modulesTree.setContextMenu(new ContextMenu( moduleTraceMenuItem, functionTraceMenuItem, seqTraceMenuItem, separator, moduleSourceCodeItem, moduleAbstCodeItem)); Bindings.bindContentBidirectional(tracesBox.getItems(), filteredTraces); addModulesFloatySearchControl(); addTraceLogFloatySearchControl(); dbgController.initialize(url, r); }