void (RefElement element) { if (element.areReferencesBuilt()) return; ((RefElementImpl)element).setReferencesBuilt(true); executeTask(() -> { element.initializeIfNeeded(); element.buildReferences(); fireBuildReferences(element); }); }