void (@NotNull JpsDependencyElement dependency, boolean value) { if (value) { dependency.getContainer().setChild(PRODUCTION_ON_TEST_ROLE, JpsElementFactory.getInstance().createSimpleElement(true)); } else { dependency.getContainer().removeChild(PRODUCTION_ON_TEST_ROLE); } }