Interface PrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
- All Known Implementing Classes:
Structures.Parsed
public interface PrototypeDescription<T extends com.github.javaparser.ast.body.TypeDeclaration<T>>
-
Method Summary
Modifier and Type Method Description Optional<PrototypeField>findField(String name)PrototypeDescription<T>getBase()Class<?>getCompiled()List<Consumer<com.github.javaparser.ast.stmt.BlockStmt>>getCustomInitializers()com.github.javaparser.ast.body.TypeDeclaration<T>getDeclaration()List<PrototypeField>getFields()List<com.github.javaparser.ast.CompilationUnit>getFiles()StringgetImplementorFullName()List<org.apache.commons.lang3.tuple.Triple<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration,com.github.javaparser.ast.Node,com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>getInitializers()StringgetInterfaceFullName()StringgetInterfaceName()com.github.javaparser.ast.body.ClassOrInterfaceDeclarationgetIntf()PrototypeDescription<T>getMixIn()StringgetParsedFullName()StringgetParsedName()com.github.javaparser.JavaParsergetParser()PrototypeDatagetProperties()StringgetPrototypeFileName()com.github.javaparser.ast.body.ClassOrInterfaceDeclarationgetRegisteredClass(String key)com.github.javaparser.ast.body.ClassOrInterfaceDeclarationgetSpec()booleanisInvalid()booleanisNested()booleanisProcessed()booleanisValid()voidprocessActions()voidregisterClass(String key, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration declaration)voidregisterPostProcessAction(Runnable task)
-
Method Details
-
isProcessed
boolean isProcessed() -
isInvalid
boolean isInvalid() -
getParser
com.github.javaparser.JavaParser getParser() -
getCompiled
Class<?> getCompiled() -
getPrototypeFileName
String getPrototypeFileName() -
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() -
getFiles
List<com.github.javaparser.ast.CompilationUnit> getFiles() -
getBase
PrototypeDescription<T> getBase() -
getMixIn
PrototypeDescription<T> getMixIn() -
getFields
List<PrototypeField> getFields() -
getSpec
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getSpec() -
getIntf
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getIntf() -
getInitializers
List<org.apache.commons.lang3.tuple.Triple<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration,com.github.javaparser.ast.Node,com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> getInitializers() -
getCustomInitializers
-
registerClass
void registerClass(String key, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration declaration) -
getRegisteredClass
-
registerPostProcessAction
-
processActions
void processActions() -
isValid
boolean isValid() -
isNested
boolean isNested() -
findField
-