Package net.binis.codegen.enrich
Interface PrototypeLookup
- All Known Implementing Classes:
PrototypeLookupHandler
public interface PrototypeLookup
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPrototypeMap(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> parsed, Map<String, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> prototypeMap) voidcustom()PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findByInterfaceName(String name) PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findExternal(String prototype) PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findGenerated(String prototype) List<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>findGeneratedByFileName(String fileName) com.github.javaparser.ast.body.TypeDeclarationfindGeneratedClass(String name) PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findParsed(String prototype) Collection<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>com.github.javaparser.JavaParserbooleanisExternal(String prototype) booleanisGenerated(String prototype) booleanCollection<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>parsed()voidregisterExternalLookup(UnaryOperator<String> lookup) voidregisterGenerated(String prototype, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> generated) voidregisterGeneratedClass(String prototype, com.github.javaparser.ast.body.TypeDeclaration generated) voidregisterParsed(String prototype, PrototypeDescription<?> parsed) voidsetProcessingEnvironment(ProcessingEnvironment processingEnv) voidsetRoundEnvironment(RoundEnvironment roundEnv)
-
Method Details
-
getParser
com.github.javaparser.JavaParser getParser() -
registerParsed
-
registerGenerated
void registerGenerated(String prototype, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> generated) -
registerGeneratedClass
void registerGeneratedClass(String prototype, com.github.javaparser.ast.body.TypeDeclaration generated) -
registerExternalLookup
-
findParsed
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findParsed(String prototype) -
findGenerated
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findGenerated(String prototype) -
findGeneratedClass
-
findExternal
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findExternal(String prototype) -
findByInterfaceName
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findByInterfaceName(String name) -
findEnum
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findEnum(String generated) -
findField
-
isParsed
-
isGenerated
-
isExternal
-
parsed
Collection<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> parsed() -
generated
Collection<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> generated() -
findGeneratedByFileName
List<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> findGeneratedByFileName(String fileName) -
addPrototypeMap
void addPrototypeMap(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> parsed, Map<String, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> prototypeMap) -
calcPrototypeMaps
void calcPrototypeMaps() -
getProcessingEnvironment
ProcessingEnvironment getProcessingEnvironment() -
setProcessingEnvironment
-
getRoundEnvironment
RoundEnvironment getRoundEnvironment() -
setRoundEnvironment
-
createCustomDescription
-
getCustomDescription
-
custom
Collection<CustomDescription> custom()
-