Object () { StructureViewTreeElement element = (StructureViewTreeElement)getValue(); if (element instanceof NodeDescriptorProvidingKey) return ((NodeDescriptorProvidingKey)element).getKey(); Object value = element == null ? null : element.getValue(); return value == null ? this : value; }