void (ChildrenRenderer childrenRenderer) { final ChildrenRenderer prevRenderer = getChildrenRenderer(); myChildrenRenderer = isBaseRenderer(childrenRenderer) ? null : childrenRenderer; final ChildrenRenderer currentRenderer = getChildrenRenderer(); if (prevRenderer != currentRenderer) { if (currentRenderer instanceof ReferenceRenderer) { ((ReferenceRenderer)currentRenderer).setClassName(getClassName()); } } }