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) voidPrototypeDescription<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) 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) 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()
-