Addition of factory method org.openide.util.lookup.Lookups.singleton(Object obj, String id). It would be a variety of an already existing factory method Lookups.singleton(Object) that would allow to specify an Id of the object.
The goal is to provide a publicly available simple implementation of a lookup that allows to assign Id to the contained objects.
The current API does not allow to create such a Lookup instance without creating a custom subclass of Lookup and if API change 137191 is approved, it will be necessary.