boolean (VirtualFile file) { for (final ExcludeEntryDescription description : myExcludeEntryDescriptions) { final VirtualFile descriptionFile = description.getVirtualFile(); if (descriptionFile == null) { continue; } if (file.equals(descriptionFile)) { return true; } } return false; }