public final @NotNull NamedScope createScope(@NotNull String name, @Nullable PackageSet value) {
    return new NamedScope(name, () -> name, getIcon(), value);
  }
public final @NotNull NamedScope createScope(@NotNull String name, @Nullable PackageSet value)