void (ProjectStructureElement element, List<? extends ProjectStructureElementUsage> usages) { removeUsagesInElement(element); for (ProjectStructureElementUsage usage : usages) { addUsage(usage); } myElementWithNotCalculatedUsages.remove(element); myResultsUpdateQueue.queue(new ReportUnusedElementsUpdate()); }