function appendForAdapted(adapted)
        {
            for (var object of adapted) {
                this._pendingPromises.push(self.runtime.instancesPromise(WebInspector.ContextMenu.Provider, object));
                this._pendingTargets.push(object);
            }
        }
@param {!Array<!Object>} adapted
@this {WebInspector.ContextSubMenuItem}