protected void setBundle(@NotNull XmlTag xml, @NotNull String bundleQName) {
      XmlTag rootTag = ((XmlFile)xml.getContainingFile()).getRootTag();
      XmlTag resourceBundle = rootTag != null ? rootTag.findFirstSubTag("resource-bundle") : null;
      if (resourceBundle == null || !bundleQName.equals(resourceBundle.getValue().getTrimmedText())) {
        xml.setAttribute("bundle", bundleQName);
      }
    }
protected void setBundle(@NotNull XmlTag xml, @NotNull String bundleQName)