@Contract(pure = true)
  public @NotNull YamlMetaType getType(@NotNull Relation relation) {
    return myPerRelationTypes.getOrDefault(relation, getMainType());
  }
@Contract(pure = true)
  public @NotNull YamlMetaType getType(@NotNull Relation relation)