void (@NotNull ID<?, ?> id) { String name = id.getName(); synchronized (lock) { ID<?, ?> oldID = idObjects.remove(name); LOG.assertTrue(id.equals(oldID), "Failed to unload: " + name); idToPluginId = idToPluginId.remove(id); idToRegistrationStackTrace.remove(id); } }