Closed as not planned
Closed as not planned
Description
As discussed in #28928 (comment), we should change the semantics of GenerationContext.withName(String)
so that an existing "feature name prefix" is not lost.
Specifically, we should prepend any existing prefix to a new provided prefix to ensure that there are no clashes with generated names.
This change may also be helpful in implementing #28204.
As mentioned by @snicoll, "the counter in DefaultGenerationContext
[may no longer] need to be transmitted from one context to another."