docs: protected void recordCapabilitiesAndRequirements(OperationContext context, AttributeDefinition attributeDefinition,
                                                       ModelNode newValue, ModelNode oldValue) {
          Resource resource = context.readResource(PathAddress.EMPTY_ADDRESS);
          attributeDefinition.removeCapabilityRequirements(context, resource, oldValue);
          attributeDefinition.addCapabilityRequirements(context, resource, newValue);
      }