JavaParserTypeSolver
Defines a directory containing source code that should be used for solving symbols. The directory must correspond to the root package of the files within.
Author
Federico Tomassetti
Constructors
Link copied to clipboard
constructor(srcDir: Path, javaParser: JavaParser, parsedFilesCache: Cache<Path, Optional<CompilationUnit>>, parsedDirectoriesCache: Cache<Path, List<CompilationUnit>>, foundTypesCache: Cache<String, SymbolReference<ResolvedReferenceTypeDeclaration>>)
Create a JavaParserTypeSolver with a custom cache system.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun solveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): ResolvedReferenceTypeDeclaration
Link copied to clipboard
Link copied to clipboard
open fun tryToSolveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): SymbolReference<ResolvedReferenceTypeDeclaration>