EnumerationChildrenRenderer (ValueDescriptorImpl valueDescriptor) { Renderer renderer = valueDescriptor.getLastRenderer(); if (renderer instanceof CompoundReferenceRenderer && NodeRendererSettings.getInstance().getCustomRenderers().contains((NodeRenderer)renderer)) { ChildrenRenderer childrenRenderer = ((CompoundReferenceRenderer)renderer).getChildrenRenderer(); if (childrenRenderer instanceof EnumerationChildrenRenderer) { return (EnumerationChildrenRenderer)childrenRenderer; } } return null; }