String (@NotNull ResourceBundleEditor resourceBundleEditor) { Object item = resourceBundleEditor.getSelectedElementIfOnlyOne(); if (item instanceof PropertiesPrefixGroup prefixGroup) { return prefixGroup.getPrefix() + prefixGroup.getSeparator(); } return null; }