code: @Override
      public void registerTransformers(SubsystemTransformerRegistration subsystemRegistration) {
          ResourceTransformationDescriptionBuilder builder = ResourceTransformationDescriptionBuilder.Factory.createSubsystemInstance();
          builder.addChildResource(DeploymentPermissionsResourceDefinition.DEPLOYMENT_PERMISSIONS_PATH).
                  getAttributeBuilder().addRejectCheck(new RejectAttributeChecker.DefaultRejectAttributeChecker() {
  
              @Override
              protected boolean rejectAttribute(PathAddress address, String attributeName, ModelNode value, TransformationContext context) {
                  // reject the maximum set if it is defined and empty as that would result in complete incompatible policies
                  // being used in nodes running earlier versions of the subsystem.
                  if (value.isDefined() && value.asList().isEmpty()) { return true; }
                  return false;
              }
  
              @Override
              public String getRejectionLogMessage(Map<String, ModelNode> attributes) {
                  return SecurityManagerLogger.ROOT_LOGGER.rejectedEmptyMaximumSet();
              }
          }, DeploymentPermissionsResourceDefinition.MAXIMUM_PERMISSIONS);
          TransformationDescription.Tools.register(builder.build(), subsystemRegistration, EAP_7_0_0_MODEL_VERSION);
      }
docs: Registers the transformers for JBoss EAP 7.0.0.
  
  @param subsystemRegistration contains data about the subsystem registration