use of org.eclipse.emf.mwe.utils.ProjectMapping in project xtext-core by eclipse.
the class XtextGeneratorStandaloneSetup method setup.
private void setup() {
final StandaloneSetup delegate = new StandaloneSetup();
delegate.setScanClassPath(this.scanClasspath);
final Consumer<Pair<String, String>> _function = (Pair<String, String> mapping) -> {
ProjectMapping _projectMapping = new ProjectMapping();
final Procedure1<ProjectMapping> _function_1 = (ProjectMapping it) -> {
it.setProjectName(mapping.getKey());
it.setPath(mapping.getValue());
};
ProjectMapping _doubleArrow = ObjectExtensions.<ProjectMapping>operator_doubleArrow(_projectMapping, _function_1);
delegate.addProjectMapping(_doubleArrow);
};
this.getProjectMappings().forEach(_function);
}
Aggregations