code: @Override
  	public void paint(final RenderContext renderContext) {
  		boolean enabled = ConfigurationProperties.getDeveloperDumpUIContext();
  
  		super.paint(renderContext);
  
  		if (enabled) {
  			UIContext uic = UIContextHolder.getCurrent();
  
  			// We want to dump the shared WComponent tree (UIC) first, so that all the
  			// references from the UI context are shown as such
  			Object[] treeAndSession
  					= new Object[]{
  						uic.getUI(),
  						uic
  					};
  
  			try {
  				ObjectGraphNode root = ObjectGraphDump.dump(treeAndSession);
  
  				// We only want to dump the tree once
  				boolean treeDumped = "true".equalsIgnoreCase((String) uic.getFwkAttribute(
  						UICONTEXT_TREE_DUMPED_KEY));
  
  				if (!treeDumped) {
  					uic.setFwkAttribute(UICONTEXT_TREE_DUMPED_KEY, "true");
  
  					// The UI will be the 1st child
  					LOG.info("UI dump follows:");
  					LOG.info(((ObjectGraphNode) root.getChildAt(0)).toXml());
  				}
  
  				// The UI context will be the 2nd child
  				LOG.info("UI Context dump follows:");
  				LOG.info(((ObjectGraphNode) root.getChildAt(1)).toXml());
  			} catch (Exception e) {
  				LOG.error("Failed to dump context", e);
  			}
  		}
  	}
docs: Paints the component.
  
  @param renderContext the renderContext to send the output to.