void (@NotNull MavenDomConfiguration config, @NotNull DomExtensionsRegistrar r) { MavenDomPluginModel pluginModel = MavenPluginDomUtil.getMavenPluginModel(config); if (pluginModel == null) { r.registerCustomChildrenExtension(MavenDomConfigurationParameter.class); return; } boolean isInPluginManagement = isInPluginManagement(config); for (ParameterData each : collectParameters(pluginModel, config)) { registerPluginParameter(isInPluginManagement, r, each); } }