CustomResourceBundle (final CustomResourceBundleState state, final Project project) { List<PropertiesFile> files = ContainerUtil.mapNotNull(state.getFiles(VirtualFileManager.getInstance()), virtualFile -> PropertiesImplUtil.getPropertiesFile(virtualFile, project)); return files.size() < 2 ? null : new CustomResourceBundle(files, state.getBaseName()); }