public Language toLanguage() {
    Language language = getLanguage();
    return language == null ? new Language(getId(), false) {
      @Override
      public @NotNull String getDisplayName() {
        return Injectable.this.getDisplayName();
      }
    } : language;
  }
public Language toLanguage()