int[] (VirtualFile file, boolean strict, boolean all) { IntList rows = new IntArrayList(); List<Pair<Object, T>> reversed = ContainerUtil.reverse(myModel.data); for (int i = 0, size = reversed.size(); i < size; i++) { Pair<Object, T> p = reversed.get(i); if (keyMatches(p.first, file, strict)) { rows.add(size - i - 1); if (!all) break; } } return rows.toIntArray(); }