void (@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); } } }