private static @NotNull Set<PluginId> calculateConflicts(Object @NotNull ... implementationObjects) {
    Set<PluginId> myConflictingPluginIds = new HashSet<>();
    for (Object object : implementationObjects) {
      final ClassLoader classLoader = object.getClass().getClassLoader();
      if (classLoader instanceof PluginAwareClassLoader) {
        myConflictingPluginIds.add(((PluginAwareClassLoader)classLoader).getPluginId());
      }
      else {
        myConflictingPluginIds.add(CORE_PLUGIN_ID);
      }
    }
    return myConflictingPluginIds;
  }
private static @NotNull Set<PluginId> calculateConflicts(Object @NotNull ... implementationObjects)