private static bool Accepts(IPsiSourceFile sourceFile) { return(sourceFile.GetAllPossiblePsiLanguages().Any(x => x.Is <PsiLanguage>())); }