void (final JpsDependencyElement dependency, boolean exported) { final JpsJavaDependencyExtension extension = getService().getOrCreateDependencyExtension(dependency); extension.setExported(exported); }