DefaultActionGroup () { DefaultActionGroup toolbarActions = super.getToolbarActions(); if (Registry.is("debugger.watches.inline.enabled")) { AnAction watchAction = myValueNode instanceof InlineWatchNodeImpl ? new EditInlineWatch() : new AddInlineWatch(); toolbarActions.add(watchAction, Constraints.LAST); } return toolbarActions; }