code: public BUILDER setCapabilityReference(String referencedCapability, AttributeDefinition ... dependantAttributes) {
          //noinspection deprecation
          referenceRecorder = new CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder(referencedCapability, dependantAttributes);
          return (BUILDER) this;
      }
docs: Records that this attribute's value represents a reference to an instance of a
  {@link org.jboss.as.controller.capability.RuntimeCapability#isDynamicallyNamed() dynamic capability}.
  <p>
  This method is a convenience method equivalent to calling * {@link #setCapabilityReference(CapabilityReferenceRecorder)}
  passing in a {@link CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder}
  constructed using the parameters passed to this method.
  <p>
  <strong>NOTE:</strong> This method of recording capability references is only suitable for use in attributes
  only used in resources that themselves expose a single capability.
  If your resource exposes more than single capability, you should use {@link #setCapabilityReference(RuntimeCapability, String, AttributeDefinition...)}
  When the capability requirement
  is registered, the dependent capability will be that capability.
  
  @param referencedCapability the name of the dynamic capability the dynamic portion of whose name is
  represented by the attribute's value
  @param dependantAttributes attribute from same resource that will be used to derive multiple dynamic parts for the dependant capability
  @return the builder
  @see AttributeDefinition#addCapabilityRequirements(OperationContext, org.jboss.as.controller.registry.Resource, ModelNode)
  @see AttributeDefinition#removeCapabilityRequirements(OperationContext, org.jboss.as.controller.registry.Resource, ModelNode)