public static XValuePresentation createPresentation(ValueDescriptorImpl descriptor) {
    Renderer lastLabelRenderer = descriptor.getLastLabelRenderer();
    if (lastLabelRenderer instanceof XValuePresentationProvider) {
      return ((XValuePresentationProvider)lastLabelRenderer).getPresentation(descriptor);
    }
    return new JavaValuePresentation(descriptor);
  }
public static XValuePresentation createPresentation(ValueDescriptorImpl descriptor)