}
private void initItem(JavaScriptProfileNode profileNode) {
Container container = new DefaultContainerImpl(
this.getItemLabelElement());
DivElement topDiv = container.getDocument().createDivElement();
topDiv.setClassName(css.treeItemTopDiv());
this.getItemLabelElement().appendChild(topDiv);
// The bottom div is reserved for the resymbolized link.
bottomDiv = container.getDocument().createDivElement();
bottomDiv.setClassName(css.treeItemBottomDiv());
this.getItemLabelElement().appendChild(bottomDiv);
final JsSymbol symbol = profileNode.getSymbol();
SpanElement symbolNameElement = container.getDocument().createSpanElement();
symbolNameElement.setInnerText(formatSymbolName(symbol));
topDiv.appendChild(symbolNameElement);
renderResourceLocation(topDiv, symbol);
SpanElement timeValue = container.getDocument().createSpanElement();
topDiv.appendChild(timeValue);
timeValue.setInnerHTML(" <b>self: " + formatSelfTime(profileNode)
+ "%</b> (" + formatTime(profileNode) + "%)");
}