TypeSolver

interface TypeSolver(source)

An element able to find TypeDeclaration from their name. TypeSolvers are organized in hierarchies.

Author

Federico Tomassetti

Properties

Link copied to clipboard
Link copied to clipboard
val JAVA_LANG_RECORD: String = "java.lang.Record"

Functions

Link copied to clipboard
abstract fun getParent(): TypeSolver
Parent of the this TypeSolver.
Link copied to clipboard
open fun getRoot(): TypeSolver
Get the root of the hierarchy of type solver.
Link copied to clipboard
open fun hasType(name: String): Boolean
Link copied to clipboard
abstract fun setParent(parent: TypeSolver)
Set the parent of this TypeSolver.
Link copied to clipboard
Solve the given type.
Link copied to clipboard
open fun solveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): ResolvedReferenceTypeDeclaration
Link copied to clipboard
Try to solve the type with the given name.
Link copied to clipboard
abstract fun tryToSolveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): SymbolReference<ResolvedReferenceTypeDeclaration>