void (@NotNull Transferable content) { Transferable oldContent = myOwnContent && !myData.isEmpty() ? myData.get(0) : null; Transferable contentToUse = addNewContentToStack(content); setSystemClipboardContent(contentToUse); fireContentChanged(oldContent, contentToUse); }