StringDescriptor (final RadComponent component) { // 1. resource bundle { final StringDescriptor descriptor = getName2Descriptor(component).get(getName()); if(descriptor != null){ return descriptor; } } // 2. plain value final JComponent delegee = component.getDelegee(); return stringDescriptorFromValue(component, delegee); }