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:
BasePrototypeStrategyEnricher
-
Field Summary
Fields inherited from class net.binis.codegen.enrich.handler.base.BaseEnricher
lookup, parser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidfinalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) protected abstract voidinternalEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidinternalFinalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidinternalPostProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidpostProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) abstract net.binis.codegen.annotation.type.GenerationStrategyprotected voidwithStrategy(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description, Consumer<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> consumer) Methods inherited from class net.binis.codegen.enrich.handler.base.BaseEnricher
dependencies, enrichElement, error, error, init, note, note, safeEnrichElement, setup, warn, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.binis.codegen.enrich.PrototypeEnricher
order
-
Constructor Details
-
BaseStrategyEnricher
public BaseStrategyEnricher()
-
-
Method Details
-
enrich
public void enrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) - Specified by:
enrichin interfacePrototypeEnricher- Overrides:
enrichin classBaseEnricher
-
finalizeEnrich
public void finalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) - Specified by:
finalizeEnrichin interfacePrototypeEnricher- Overrides:
finalizeEnrichin classBaseEnricher
-
postProcess
public void postProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) - Specified by:
postProcessin interfacePrototypeEnricher- Overrides:
postProcessin classBaseEnricher
-
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()
-