public static <T extends Language> T findInstance(@NotNull Class<T> klass) {
    //noinspection unchecked
    return (T)registeredLanguages.get(klass);
  }
public static <T extends Language> T findInstance(@NotNull Class<T> klass)