code: public ModelNode addResourceAttributeDescription(final ModelNode resourceDescription, final ResourceDescriptionResolver resolver,
                                                       final Locale locale, final ResourceBundle bundle) {
          final ModelNode attr = getNoTextDescription(false);
          final String description = resolver.getResourceAttributeDescription(getName(), locale, bundle);
          attr.get(ModelDescriptionConstants.DESCRIPTION).set(description);
          final ModelNode result = resourceDescription.get(ModelDescriptionConstants.ATTRIBUTES, getName()).set(attr);
          ModelNode deprecated = addDeprecatedInfo(result);
          if (deprecated != null) {
              deprecated.get(ModelDescriptionConstants.REASON).set(resolver.getResourceAttributeDeprecatedDescription(getName(), locale, bundle));
          }
          addAccessConstraints(result, locale);
          return result;
      }
docs: Creates a returns a basic model node describing the attribute, after attaching it to the given overall resource
  description model node.  The node describing the attribute is returned to make it easy to perform further
  modification.
  
  @param resourceDescription  the overall resource description
  @param resolver provider of localized text descriptions
  @param locale locale to pass to the resolver
  @param bundle bundle to pass to the resolver
  @return  the attribute description node