void (FrameworkSupportNode node) { final FrameworkSupportInModuleProvider provider = node.getUserObject(); boolean checked = node.isChecked(); if (provider instanceof OldFrameworkSupportProviderWrapper) { final FrameworkSupportProvider oldProvider = ((OldFrameworkSupportProviderWrapper) provider).getProvider(); selectFramework(oldProvider, checked); } for (FrameworkSupportInModuleProvider.FrameworkDependency dependency : provider.getDependenciesFrameworkIds()) { if (!dependency.isOptional()) { String id = dependency.getFrameworkId(); setFrameworkComponentEnabled(id, true); } } }