void (String action, Object element) { if (addReadyCallbacks.get() != null) { addReadyCallbacks.get().run(); addReadyCallbacks.set(null); } if (element.equals(new NodeElement("ide"))) { disposeRequested.set(true); //noinspection SSBasedInspection getBuilder().dispose(); } }