<BUG>if (LanguageAspect.valueOf(NameUtil.shortNameFromLongName(modelFqName.getLongName())) == null) return false;return true;}</BUG><CONTEXT>return new RegularModelDataSource(file);}public static boolean isLanguageAspect(ModelRoot root, IModule module, SModelFqName modelFqName) {if (!isUnderLanguageModels(module, root)) return false;if (!NameUtil.namespaceFromLongName(modelFqName.getLongName()).equals(module.getModuleFqName())) return false;<extra_id_0>public static boolean isUnderLanguageModels(IModule module, ModelRoot root) {if (!(module instanceof Language)) return false;</CONTEXT>
String name = NameUtil.shortNameFromLongName(modelFqName.getLongName());for (LanguageAspect la:LanguageAspect.values()){if (la.getName().equals(name)) return true;