ValidationInfo (@NotNull FindModel model) { VirtualFile directory = FindInProjectUtil.getDirectory(model); if (directory == null) { return new ValidationInfo(FindBundle.message("find.directory.not.found.error"), myDirectoryComboBox); } return null; }