@NotNull
  @Override
  public Object createInstance(@NotNull ComponentManager componentManager, @NotNull PluginDescriptor pluginDescriptor) {
    if (service == null) {
      return super.createInstance(componentManager, pluginDescriptor);
    }
    else {
      try {
        return ApplicationManager.getApplication().getService(Class.forName(service, true, pluginDescriptor.getPluginClassLoader()));
      }
      catch (Throwable e) {
        throw new PluginException(e, pluginDescriptor.getPluginId());
      }
    }
  }
@NotNull
  @Override
  public Object createInstance(@NotNull ComponentManager componentManager, @NotNull PluginDescriptor pluginDescriptor)