void (JpsDependencyElement dependency, JpsJavaDependencyScope scope, boolean exported) { JpsJavaDependencyExtension extension = JpsJavaExtensionService.getInstance().getOrCreateDependencyExtension(dependency); extension.setExported(exported); extension.setScope(scope); }