<BUG>for (int j = 0; j < orderEntries.length; j++) {modules.add(orderEntries[j].getOwnerModule());</BUG><CONTEXT>final OrderEntry[] orderEntries = fileIndex.getOrderEntriesForFile(vFile);if (orderEntries.length == 0) {return null;}Set<Module> modules = new HashSet<Module>();<extra_id_0>}final Module[] candidates = modules.toArray(new Module[modules.size()]);</CONTEXT>
for (OrderEntry orderEntry : orderEntries) {modules.add(orderEntry.getOwnerModule());