Exemple #1
0
 public static SModelDescriptor getOptional(Language l) {
   SModelReference modelRef =
       SModelReference.fromString(LANGUAGE_NAMESPACE + OPTIONAL_MODEL_SUFFIX);
   return l.getScope().getModelDescriptor(modelRef);
 }
Exemple #2
0
 public static SModelDescriptor getGenerated(Language l) {
   SModelReference modelRef =
       SModelReference.fromString(LANGUAGE_NAMESPACE + GENERATED_MODEL_SUFFIX);
   return l.getScope().getModelDescriptor(modelRef);
 }