Interface PrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
- All Known Subinterfaces:
CustomDescription
- All Known Implementing Classes:
Structures.CustomParsed,Structures.Parsed
public interface PrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
Method Summary
Modifier and TypeMethodDescriptionaddCustomFile(String id) voidaddEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) findElement(String name, ElementKind... kind) findElement(Element parent, String name, ElementKind kind) getBase()Class<?>getCustomFile(String id) com.github.javaparser.ast.body.TypeDeclaration<T>com.github.javaparser.ast.CompilationUnitnet.binis.codegen.annotation.type.EmbeddedModifierTypeList<com.github.javaparser.ast.CompilationUnit>getFiles()com.github.javaparser.ast.body.ClassOrInterfaceDeclarationcom.github.javaparser.ast.CompilationUnitList<org.apache.commons.lang3.tuple.Triple<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration,com.github.javaparser.ast.Node, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>> com.github.javaparser.ast.body.ClassOrInterfaceDeclarationcom.github.javaparser.ast.CompilationUnitgetMixIn()com.github.javaparser.ast.body.ClassOrInterfaceDeclarationcom.github.javaparser.JavaParsercom.github.javaparser.ast.body.ClassOrInterfaceDeclarationgetRegisteredClass(String key) booleanhasEnricher(Class<? extends net.binis.codegen.enrich.Enricher> enricher) booleanbooleanbooleanbooleanisNested()booleanbooleanisValid()voidvoidregisterClass(String key, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration declaration) voidvoidsetEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type)
-
Method Details
-
isProcessed
boolean isProcessed() -
isInvalid
boolean isInvalid() -
getParser
com.github.javaparser.JavaParser getParser() -
getCompiled
Class<?> getCompiled() -
getPrototypeFileName
String getPrototypeFileName() -
getPrototypeClassName
String getPrototypeClassName() -
getProperties
PrototypeData getProperties() -
getParsedName
String getParsedName() -
getParsedFullName
String getParsedFullName() -
getInterfaceName
String getInterfaceName() -
getInterfaceFullName
String getInterfaceFullName() -
getImplementorFullName
String getImplementorFullName() -
getDeclaration
com.github.javaparser.ast.body.TypeDeclaration<T> getDeclaration() -
getDeclarationUnit
com.github.javaparser.ast.CompilationUnit getDeclarationUnit() -
getFiles
List<com.github.javaparser.ast.CompilationUnit> getFiles() -
getBase
PrototypeDescription<T> getBase() -
getMixIn
PrototypeDescription<T> getMixIn() -
getFields
List<PrototypeField> getFields() -
getImplementation
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getImplementation() -
getImplementationUnit
com.github.javaparser.ast.CompilationUnit getImplementationUnit() -
getInterface
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getInterface() -
getInterfaceUnit
com.github.javaparser.ast.CompilationUnit getInterfaceUnit() -
getInitializers
List<org.apache.commons.lang3.tuple.Triple<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration,com.github.javaparser.ast.Node, getInitializers()PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>> -
getCustomInitializers
-
registerClass
void registerClass(String key, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration declaration) -
getRegisteredClass
-
registerPostProcessAction
-
processActions
void processActions() -
isValid
boolean isValid() -
isNested
boolean isNested() -
isCodeEnum
boolean isCodeEnum() -
getParentClassName
String getParentClassName() -
getElements
Map<String,ElementDescription> getElements() -
getElement
Element getElement() -
getPrototypeElement
Element getPrototypeElement() -
getRawElements
-
findElement
-
findElement
-
getParent
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getParent() -
getEmbeddedModifierType
net.binis.codegen.annotation.type.EmbeddedModifierType getEmbeddedModifierType() -
findField
-
addEmbeddedModifier
void addEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) -
setEmbeddedModifier
void setEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) -
hasOption
-
hasEnricher
-
getConstants
Map<String,PrototypeConstant> getConstants() -
addCustomFile
-
getCustomFile
-
getCustomFiles
Map<String,Structures.GeneratedFileHandler> getCustomFiles()
-