boolean (VirtualFile file, boolean showHiddenFiles) { for (Pair<LibraryRootsComponentDescriptor, FileChooserDescriptor> pair : descriptors) { if (pair.getSecond().isFileVisible(file, showHiddenFiles)) { return true; } } return false; }