private static @NotNull List<String> getOptions(@NotNull RegistryValue value) {
    List<String> options = new ArrayList<>(value.asOptions());
    options.replaceAll(s -> Strings.trimEnd(s, "*"));
    return options;
  }
private static @NotNull List<String> getOptions(@NotNull RegistryValue value)