List<OrderEntry> orderEntries = projectFileIndex.getOrderEntriesForFile(vFile);
for (OrderEntry entry : orderEntries) {
progressManager.checkCanceled();
if (entry instanceof JdkOrderEntry) {
return ((ProjectRootManagerEx)myProjectRootManager).getScopeForJdk((JdkOrderEntry)entry);
<BUG>}
if (entry instanceof LibraryOrderEntry) {
Module ownerModule = entry.getOwnerModule();
modulesLibraryUsedIn.add(ownerModule);
</BUG>
}

List<OrderEntry> orderEntries = projectFileIndex.getOrderEntriesForFile(vFile);
for (OrderEntry entry : orderEntries) {
progressManager.checkCanceled();
if (entry instanceof JdkOrderEntry) {
return ((ProjectRootManagerEx)myProjectRootManager).getScopeForJdk((JdkOrderEntry)entry);
