Solver

interface Solver(source)

Functions

Link copied to clipboard
abstract fun classToResolvedType(clazz: Class<out Any>): ResolvedType
Convert a Class into the corresponding ResolvedType.
Link copied to clipboard
abstract fun solveMethod(methodName: String, argumentsTypes: List<ResolvedType>, node: Node, invocationContext: ResolvedReferenceTypeDeclaration): MethodUsage
abstract fun solveMethod(methodName: String, argumentsTypes: List<ResolvedType>, context: Context, invocationContext: ResolvedReferenceTypeDeclaration): MethodUsage
Link copied to clipboard
Link copied to clipboard
abstract fun solveSymbolAsValue(name: String, node: Node): Optional<Value>
abstract fun solveSymbolAsValue(name: String, context: Context): Optional<Value>
Link copied to clipboard
Solve any possible visible symbols including: fields, internal types, type variables, the type itself or its containers.
Link copied to clipboard
Link copied to clipboard
Try to solve a symbol just in the declaration, it does not delegate to the container.
Link copied to clipboard
abstract fun solveTypeUsage(name: String, context: Context): ResolvedType