solveTypeInParentContext
open fun solveTypeInParentContext(name: String, @Nullable typeArguments: List<ResolvedType>): SymbolReference<ResolvedTypeDeclaration>(source)
Solve a name with type arguments in the parent context.
Return
The declaration associated with the given type name.
Parameters
name
The name to be solved.
typeArguments
The list of expected type arguments.
Deprecated
Consider using method solveTypeInParentContext that also consider the type arguments. If you want to keep to use the new function, but keep the same behavior consider passing type arguments as null.
Solve a name in the parent context.
Return
The declaration associated with the given type name.
Parameters
name
The name to be solved.