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