Package net.binis.codegen.enrich.handler
Class ModifierEnricherHandler
java.lang.Object
net.binis.codegen.enrich.handler.base.BaseEnricher
net.binis.codegen.enrich.handler.ModifierEnricherHandler
- All Implemented Interfaces:
net.binis.codegen.enrich.Enricher,net.binis.codegen.enrich.ModifierEnricher,PrototypeEnricher
public class ModifierEnricherHandler
extends BaseEnricher
implements net.binis.codegen.enrich.ModifierEnricher
-
Field Summary
Fields inherited from class net.binis.codegen.enrich.handler.base.BaseEnricher
lookup, parser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.github.javaparser.ast.body.MethodDeclarationdeclare(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description, PrototypeData properties, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration modifierFields, PrototypeField field, com.github.javaparser.ast.body.TypeDeclaration<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> classDeclaration, List<org.apache.commons.lang3.tuple.Pair<com.github.javaparser.ast.CompilationUnit, String>> imports) voidenrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) voidfinalizeEnrich(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description) intorder()Methods inherited from class net.binis.codegen.enrich.handler.base.BaseEnricher
dependencies, enrichElement, error, error, init, note, note, postProcess, safeEnrichElement, setup, warn, warn
-
Constructor Details
-
ModifierEnricherHandler
public ModifierEnricherHandler()
-
-
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
-
declare
protected com.github.javaparser.ast.body.MethodDeclaration declare(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> description, PrototypeData properties, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration modifierFields, PrototypeField field, com.github.javaparser.ast.body.TypeDeclaration<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> classDeclaration, List<org.apache.commons.lang3.tuple.Pair<com.github.javaparser.ast.CompilationUnit, String>> imports) -
order
public int order()- Specified by:
orderin interfacePrototypeEnricher
-