void (final @NotNull List<? extends PropertiesFile> propertiesFiles, final String baseName) { if (propertiesFiles.isEmpty()) { throw new IllegalStateException(); } myState.getCustomResourceBundles() .add(new CustomResourceBundleState().addAll(ContainerUtil.map(propertiesFiles, file -> file.getVirtualFile().getUrl())).setBaseName(baseName)); }