void (@NotNull DocumentEvent e) { super.onBeforeDocumentChange(e); List<Document> documents = ContainerUtil.map(getEditors(), Editor::getDocument); Side side = Side.fromValue(documents, e.getDocument()); if (side == null) { LOG.warn("Unknown document changed"); return; } myModel.handleBeforeDocumentChange(side, e); }