Class BaseEnricher
java.lang.Object
net.binis.codegen.enrich.handler.base.BaseEnricher
- All Implemented Interfaces:
net.binis.codegen.enrich.Enricher,PrototypeEnricher
- Direct Known Subclasses:
AsEnricherHandler,BaseArgsConstructorEnricherHandler,BaseStrategyEnricher,CloneEnricherHandler,CreatorEnricherHandler,CreatorModifierEnricherHandler,FluentEnricherHandler,HibernateEnricherHandler,JacksonEnricherHandler,LogEnricherHandler,ModifierEnricherHandler,OpenApiEnricherHandler,QueryEnricherHandler,RedisEnricherHandler,RegionEnricherHandler,SanitizerEnricher,Structures.ErrorOnInvokeEnricher,ValidationEnricherHandler,ValidatorEnricher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PrototypeLookupprotected com.github.javaparser.JavaParser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidenrichElement(ElementDescription description) protected voidprotected voidvoidfinalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidinit(PrototypeLookup lookup) protected voidprotected voidvoidpostProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidsetup(PrototypeData properties) protected voidprotected voidMethods 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
-
Field Details
-
lookup
-
parser
protected com.github.javaparser.JavaParser parser
-
-
Constructor Details
-
BaseEnricher
public BaseEnricher()
-
-
Method Details
-
init
- Specified by:
initin interfacePrototypeEnricher
-
setup
- Specified by:
setupin interfacePrototypeEnricher
-
enrich
public void enrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) - Specified by:
enrichin interfacePrototypeEnricher
-
finalizeEnrich
public void finalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) - Specified by:
finalizeEnrichin interfacePrototypeEnricher
-
postProcess
public void postProcess(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) - Specified by:
postProcessin interfacePrototypeEnricher
-
dependencies
- Specified by:
dependenciesin interfacePrototypeEnricher
-
enrichElement
- Specified by:
enrichElementin interfacePrototypeEnricher
-
error
-
error
-
warn
-
warn
-
note
-
note
-