[code-reflection] Integrated: Create CoreType

Paul Sandoz psandoz at openjdk.org
Mon Jun 23 20:44:48 UTC 2025


On Fri, 20 Jun 2025 22:12:10 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Create a common type, `CoreType`, and consolidate factory methods in that class.
> 
> Create an `ExternalizableTypeElement` that all type elements wishing to explicitly support externalization should implement, following the same pattern as `ExternalizableOp`.
> 
> The method `TypeElement::externalize` will be revisited in a subsequent PR, likely removed.
> 
> --
> 
> A subsequent PR will consolidate packages `parser` and `writer` into an `extern` package. The classes directly under the `dialect` will be moved to be directly under the `extern` package. Thereby we consolidate all externalization/reconstitution functionality under the same package.

This pull request has now been integrated.

Changeset: 865e7f01
Author:    Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/865e7f0194a4aa957b12f14412d4f3a852309cc1
Stats:     870 lines in 64 files changed: 333 ins; 279 del; 258 mod

Create CoreType

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

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


More information about the babylon-dev mailing list