boolean (@NotNull Document document, boolean isSaveExplicit) { if (LightEditUtil.getProjectIfCreated() == null) { return super.maySaveDocument(document, isSaveExplicit); } return isSaveExplicit || LightEditService.getInstance().getEditorManager().isImplicitSaveAllowed(document); }