On Wed, 22 Apr 2026 11:16:26 GMT, Paul Hübner <[email protected]> wrote:

> whether this current implementation can be extended without too much 
> friction. If, for example, annotations around the class declaration and/or 
> object usage are introduced, can we extend `ValueKlass` or do we need to 
> split it into multiple classes?

Well, the "friction" here is pretty simple - all is done via factories, which 
is boilerplate'y, but simple to modify. I guess, one can just add a line or two 
to the factory or the formatting visitor and the Klass-type.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/2346#issuecomment-4302423649

Reply via email to