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 com.github.javaparser.ast.CompilationUnitprotected Elementprotected net.binis.codegen.annotation.type.EmbeddedModifierTypeprotected List<PrototypeField>protected List<com.github.javaparser.ast.CompilationUnit>protected com.github.javaparser.ast.CompilationUnitprotected 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.CompilationUnitprotected com.github.javaparser.ast.body.ClassOrInterfaceDeclarationprotected booleanprotected Structures.Parsed<T>protected booleanprotected com.github.javaparser.ast.body.ClassOrInterfaceDeclarationprotected 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.ClassOrInterfaceDeclarationcom.github.javaparser.ast.body.ClassOrInterfaceDeclarationcom.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) voidsetImplementation(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration spec) voidsetInterface(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration intf) 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, getDeclarationUnit, getElement, getEmbeddedModifierType, getFields, getFiles, getImplementationUnit, getInitializers, getInterfaceFullName, getInterfaceName, getInterfaceUnit, getMixIn, getParent, getParentClassName, getParsedFullName, getParsedName, getParser, getProperties, getPrototypeClassName, getPrototypeFileName, 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
-
declarationUnit
protected com.github.javaparser.ast.CompilationUnit declarationUnit -
files
-
custom
-
base
-
mixIn
-
nested
protected boolean nested -
codeEnum
protected boolean codeEnum -
parentClassName
-
parent
protected com.github.javaparser.ast.body.ClassOrInterfaceDeclaration parent -
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 -
interfaceUnit
protected com.github.javaparser.ast.CompilationUnit interfaceUnit -
implementationUnit
protected com.github.javaparser.ast.CompilationUnit implementationUnit -
element
-
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>>
-
getImplementation
public com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getImplementation()- Specified by:
getImplementationin interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
getInterface
public com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getInterface()- Specified by:
getInterfacein interfacePrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
setInterface
public void setInterface(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration intf) -
setImplementation
public void setImplementation(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
-