Package net.binis.codegen.enrich
Interface PrototypeLookup
- All Known Implementing Classes:
PrototypeLookupHandler
public interface PrototypeLookup
-
Method Summary
Modifier and Type Method Description voidaddPrototypeMap(PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> parsed, Map<String,PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>> prototypeMap)voidcalcPrototypeMaps()PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findByInterfaceName(String name)PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findEnum(String generated)PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findExternal(String prototype)Optional<PrototypeField>findField(String prototype, String name)PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findGenerated(String prototype)List<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>findGeneratedByFileName(String fileName)PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>findParsed(String prototype)Collection<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>generated()com.github.javaparser.JavaParsergetParser()booleanisExternal(String prototype)booleanisGenerated(String prototype)booleanisParsed(String prototype)Collection<PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>>parsed()voidregisterExternalLookup(UnaryOperator<String> lookup)voidregisterGenerated(String prototype, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> generated)voidregisterParsed(String prototype, PrototypeDescription<?> parsed)
-
Method Details
-
getParser
com.github.javaparser.JavaParser getParser() -
registerParsed
-
registerGenerated
void registerGenerated(String prototype, PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> generated) -
registerExternalLookup
-
findParsed
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findParsed(String prototype) -
findGenerated
PrototypeDescription<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration> findGenerated(String prototype) -
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()
-