public static @Nullable Language getDefaultMappingForFile(@Nullable VirtualFile file) {
    return file == null? null : TemplateDataLanguagePatterns.getInstance().getTemplateDataLanguageByFileName(file);
  }
public static @Nullable Language getDefaultMappingForFile(@Nullable VirtualFile file)