Class BaseStrategyEnricher

java.lang.Object
net.binis.codegen.enrich.handler.base.BaseEnricher
net.binis.codegen.enrich.handler.base.BaseStrategyEnricher
All Implemented Interfaces:
net.binis.codegen.enrich.Enricher, PrototypeEnricher
Direct Known Subclasses:
BaseClassicStrategyEnricher

public abstract class BaseStrategyEnricher extends BaseEnricher
  • Constructor Details

    • BaseStrategyEnricher

      public BaseStrategyEnricher()
  • Method Details

    • enrich

      public void enrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description)
    • finalizeEnrich

      public void finalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description)
      Specified by:
      finalizeEnrich in interface PrototypeEnricher
      Overrides:
      finalizeEnrich in class BaseEnricher
    • postProcess

      public void postProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description)
      Specified by:
      postProcess in interface PrototypeEnricher
      Overrides:
      postProcess in class BaseEnricher
    • internalEnrich

      protected abstract void internalEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description)
    • internalFinalizeEnrich

      public void internalFinalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description)
    • internalPostProcess

      public void internalPostProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description)
    • withStrategy

      protected void withStrategy(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description, Consumer<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> consumer)
    • supportedStrategy

      public abstract net.binis.codegen.annotation.type.GenerationStrategy supportedStrategy()