// because this will trigger evaluation, defeating deferred
// evaluation.
if (!(object instanceof EntityLibrary)) {
// Only if an object has an icon, an icon description, or
// a small icon description is it rendered in the tree.
List iconList = object.attributeList(EditorIcon.class);
if ((iconList.size() > 0)
|| (object.getAttribute("_iconDescription") != null)
|| (object.getAttribute("_smallIconDescription") != null)) {
// NOTE: this code is similar to that in IconController.