void (String action, Object element) { if (new NodeElement("jetbrains").equals(element) && ready.get() == null) { ActionCallback readyCallback = new ActionCallback(); assertFalse(getBuilder().getUi().isReady()); getBuilder().getReady(this).notify(readyCallback); ready.set(readyCallback); } }