void (@NotNull PackagingElementType extension, @NotNull PluginDescriptor pluginDescriptor) { if (extension instanceof ComplexPackagingElementType && myDefaultSettings.getTypesToShowContent().contains(extension)) { List<ComplexPackagingElementType<?>> updated = new ArrayList<>(myDefaultSettings.getTypesToShowContent()); updated.remove(extension); myDefaultSettings.setTypesToShowContent(updated); } }