public interface CodegenExtension
Code processing and generation extension.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(RoundContext roundContext) Process a round of code analysis and generation.default void
processingOver
(RoundContext roundContext) Processing has finished, any finalization can be done.
-
Method Details
-
process
Process a round of code analysis and generation. There may be more than one round of processing (such as when a type gets generated that has supported annotations that need to be processed).- Parameters:
roundContext
- context of the current round, used to get types to process, and to provide types for code generation
-
processingOver
Processing has finished, any finalization can be done.- Parameters:
roundContext
- context with no available types for processing, still can add types to code generate
-