mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
This commit updates the AOT infrastructure to handle generated resources in a similar fashion than generated classes: naming conventions, feature prefixes, and uniqueness are applied. The new abstraction also provides a more explicit contract that guides users to either create the resource or create it if it does not exist and validate its content if it does. As part of this change ClassNameGenerator has been renamed to NameGenerator as it is responsible to generate names for both classes and resources. Closes gh-35862