void () { try { WriteAction.run(() -> { myWorkspaceModel.updateProjectModel( "Update libraries bindings to remote repositories on repository remove", it -> { it.addDiff(myMutableEntityStorage); return null; }); }); } catch (Throwable e) { throw new RuntimeException(e); } }