public static void setGlobalAttributes(Attributes mainAttributes) {
    setVersionAttribute(mainAttributes);
    setIfNone(mainAttributes, CREATED_BY, ApplicationNamesInfo.getInstance().getFullProductName());
  }
public static void setGlobalAttributes(Attributes mainAttributes)