Class Structures.Parsed<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
java.lang.Object
net.binis.codegen.generation.core.Structures.Parsed<T>
- All Implemented Interfaces:
PrototypeDescription<T>
- Direct Known Subclasses:
Structures.CustomParsed
- Enclosing class:
Structures
public static class Structures.Parsed<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
extends Object
implements PrototypeDescription<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Structures.Parsed<T>protected booleanprotected Class<?>protected Map<String,Structures.GeneratedFileHandler> protected com.github.javaparser.ast.body.TypeDeclaration<T>protected net.binis.codegen.annotation.type.EmbeddedModifierTypeprotected List<PrototypeField>protected List<com.github.javaparser.ast.CompilationUnit>protected List<org.apache.commons.lang3.tuple.Triple<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration,com.github.javaparser.ast.Node, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>> protected Stringprotected Stringprotected com.github.javaparser.ast.body.ClassOrInterfaceDeclarationprotected booleanprotected Structures.Parsed<T>protected booleanprotected Stringprotected Stringprotected Stringprotected com.github.javaparser.JavaParserprotected booleanprotected Structures.PrototypeDataHandlerprotected Stringprotected Stringprotected com.github.javaparser.ast.body.ClassOrInterfaceDeclaration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCustomFile(String id) voidaddEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) getCustomFile(String id) com.github.javaparser.ast.body.ClassOrInterfaceDeclarationgetRegisteredClass(String key) booleanhasEnricher(Class<? extends net.binis.codegen.enrich.Enricher> enricher) booleanprotected static List<com.github.javaparser.ast.CompilationUnit>booleanisValid()voidvoidregisterClass(String key, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration declaration) voidvoidsetEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) voidsetIntf(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration intf) voidsetSpec(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration spec) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.binis.codegen.generation.core.interfaces.PrototypeDescription
getBase, getCompiled, getConstants, getCustomInitializers, getDeclaration, getEmbeddedModifierType, getFields, getFiles, getInitializers, getInterfaceFullName, getInterfaceName, getIntf, getMixIn, getParentClassName, getParsedFullName, getParsedName, getParser, getProperties, getPrototypeClassName, getPrototypeFileName, getSpec, isCodeEnum, isInvalid, isNested, isProcessed
-
Field Details
-
processed
protected boolean processed -
invalid
protected boolean invalid -
parser
protected com.github.javaparser.JavaParser parser -
compiled
-
prototypeFileName
-
prototypeClassName
-
properties
-
parsedName
-
parsedFullName
-
interfaceName
-
interfaceFullName
-
declaration
-
files
-
custom
-
base
-
mixIn
-
nested
protected boolean nested -
codeEnum
protected boolean codeEnum -
parentClassName
-
embeddedModifierType
protected net.binis.codegen.annotation.type.EmbeddedModifierType embeddedModifierType -
classes
-
fields
-
spec
protected com.github.javaparser.ast.body.ClassOrInterfaceDeclaration spec -
intf
protected com.github.javaparser.ast.body.ClassOrInterfaceDeclaration intf -
initializers
protected List<org.apache.commons.lang3.tuple.Triple<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration,com.github.javaparser.ast.Node, initializersPrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>> -
customInitializers
-
postProcessActions
-
-
Constructor Details
-
Parsed
public Parsed()
-
-
Method Details
-
getImplementorFullName
- Specified by:
getImplementorFullNamein interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
setIntf
public void setIntf(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration intf) -
setSpec
public void setSpec(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration spec) -
registerClass
public void registerClass(String key, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration declaration) - Specified by:
registerClassin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
getRegisteredClass
- Specified by:
getRegisteredClassin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
registerPostProcessAction
- Specified by:
registerPostProcessActionin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
processActions
public void processActions()- Specified by:
processActionsin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
isValid
public boolean isValid()- Specified by:
isValidin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
findField
- Specified by:
findFieldin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
addEmbeddedModifier
public void addEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) - Specified by:
addEmbeddedModifierin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
setEmbeddedModifier
public void setEmbeddedModifier(net.binis.codegen.annotation.type.EmbeddedModifierType type) - Specified by:
setEmbeddedModifierin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
hasOption
- Specified by:
hasOptionin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
hasEnricher
- Specified by:
hasEnricherin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
addCustomFile
-
getCustomFile
-
initFiles
-