code: private void performTransformation(MutableRenderingContext renderingContext, Transformation transformation,
          TransformationContext context, Block block) throws MacroExecutionException
      {
          try {
              renderingContext.transformInContext(transformation, context, block);
          } catch (Exception e) {
              throw new MacroExecutionException("Failed to perform transformation", e);
          }
      }
docs: Calls transformInContext on renderingContext.