-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed as not planned
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Description
The GenerationContext keeps generated classes around so that multiple processors (or multiple round of the same processor) get a chance to contribute to the same file if necessary.
The Default implementation has a writeGeneratedContent that must be called at the end. We thought that it might be more obvious to make the context extend from Closeable so that a method that does this must be implemented.
The problem is withName that creates copies of the context with specialized naming convention. We don't really want those to be closed as the "main" context is still being processed. It's also unclear if we want to prevent users to use the context once it has been closed.
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertheme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement