private void registerPropertyKey(@NotNull Project project, XmlTag xml, PropertiesFile propertiesFile) {
      String displayName = xml.getAttributeValue(attributeName);
      if (displayName == null) return;
      xml.setAttribute(attributeName, null);
      String shortName = getName(xml);
      if (shortName == null) return;
      String[] items = ArrayUtil.mergeArrays(NameUtilCore.splitNameIntoWords(shortName), NameUtilCore.splitNameIntoWords(attributeName));
      @NonNls String key = prefix + "." + StringUtil.join(items, s -> StringUtil.decapitalize(s), ".");
      xml.setAttribute("key", key);

      String bundleQName = getBundleQName(project, propertiesFile);
      setBundle(xml, bundleQName);

      JavaI18nUtil.DEFAULT_PROPERTY_CREATION_HANDLER.createProperty(project,
                                                                    Collections.singletonList(propertiesFile),
                                                                    key,
                                                                    StringUtil.unescapeXmlEntities(displayName),
                                                                    new UExpression[0]);
    }
private void registerPropertyKey(@NotNull Project project, XmlTag xml, PropertiesFile propertiesFile)