[code-reflection] RFR: Regularize support for Java types/references

Maurizio Cimadamore mcimadamore at openjdk.org
Wed May 21 15:23:11 UTC 2025


On Wed, 21 May 2025 10:00:12 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> The next step in this journey (not addressed by this PR) would be to parse Java type/ref attributes in a more structural fashion, so that we can let go of the `ofString` factories.

The patch below contains a sketch of how we might go in that direction:

https://github.com/mcimadamore/babylon/compare/externalized_Java_type_cleanup...mcimadamore:babylon:remove_of_string_type_factories?expand=1

The fact the I was able to cook it in an hour or so makes me confident about the general direction set by this PR.

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

PR Comment: https://git.openjdk.org/babylon/pull/432#issuecomment-2898354029


More information about the babylon-dev mailing list