public static Language getLanguage(Project project, String languageName) { return project.getScope().getLanguage(languageName); }
public static SModelDescriptor getModel(Project project, String modelName) { return project.getScope().getModelDescriptor(SModelReference.fromString(modelName)); }