public static void unregisterElementTypes(@NotNull Language language, @NotNull PluginDescriptor pluginDescriptor) {
    if (language == Language.ANY) {
      throw new IllegalArgumentException("Trying to unregister Language.ANY");
    }
    for (int i = 0; i < ourRegistry.length; i++) {
      IElementType type = ourRegistry[i];
      if (type != null && type.getLanguage().equals(language)) {
        ourRegistry[i] = TombstoneElementType.create(type, pluginDescriptor);
      }
    }
  }
public static void unregisterElementTypes(@NotNull Language language, @NotNull PluginDescriptor pluginDescriptor)