@Nullable
  static LanguageCompilerRefAdapter findAdapter(@NotNull PsiElement element, boolean includeExternalLanguageHelper) {
    final PsiFile file = element.getContainingFile();
    return file == null ? null : findAdapter(file, includeExternalLanguageHelper);
  }
@Nullable
  static LanguageCompilerRefAdapter findAdapter(@NotNull PsiElement element, boolean includeExternalLanguageHelper)