return isUserModelStereotype(getStereotype(modelFqName));
}
private static boolean isUserModelStereotype(String stereotype) {
return NONE.equals(stereotype) || GENERATOR.equals(stereotype) || TESTS.equals(stereotype) || DESCRIPTOR.equals(stereotype);
}
<BUG>public static boolean isGeneratorModel(@NotNull org.jetbrains.mps.openapi.model.SModel model) {
return isGeneratorModelStereotype(getStereotype(model));</BUG>
}
public static boolean isTestModelStereotype(String stereotype) {
return TESTS.equals(stereotype);

return isUserModelStereotype(getStereotype(modelFqName));
}
private static boolean isUserModelStereotype(String stereotype) {
return NONE.equals(stereotype) || GENERATOR.equals(stereotype) || TESTS.equals(stereotype) || DESCRIPTOR.equals(stereotype);
}
public static boolean isGeneratorModel(@NotNull SModel model) {
return isGeneratorModelStereotype(getStereotype(model));
}
public static boolean isTestModelStereotype(String stereotype) {
return TESTS.equals(stereotype);
