[code-reflection] Integrated: Allow arbritrary text to be injected using annotations

Gary Frost gfrost at openjdk.org
Thu Oct 23 10:36:11 UTC 2025


On Thu, 23 Oct 2025 10:29:29 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> We previously allow typdefs and kernel bodies to be injected using annotations on kernels>
> 
> Sometimes we want to inject arbitrary chunks of code.  
> 
> We can do this with `@Preformatted(" //My text")`

This pull request has now been integrated.

Changeset: 5fa15c4c
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/5fa15c4c70ba7a17df306b81875dfddc596eaae6
Stats:     21 lines in 4 files changed: 12 ins; 2 del; 7 mod

Allow arbritrary text to be injected using annotations

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

PR: https://git.openjdk.org/babylon/pull/633


More information about the babylon-dev mailing list