Interface CodegenExtension


public interface CodegenExtension
Code processing and generation extension.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(RoundContext roundContext)
    Process a round of code analysis and generation.
    default void
    Processing has finished, any finalization can be done.
  • Method Details

    • process

      void process(RoundContext roundContext)
      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

      default void processingOver(RoundContext roundContext)
      Processing has finished, any finalization can be done.
      Parameters:
      roundContext - context with no available types for processing, still can add types to code generate