@Nullable
  public Language getDialect() {
    if (myDialect == null) {
      final LanguageFileType fileType = getFileType();
      return (fileType == null) ? null : fileType.getLanguage();
    }
    return myDialect;
  }
@Nullable
  public Language getDialect()