adapt
open fun <I : ResolvedDeclaration?, O : ResolvedDeclaration?> adapt(ref: SymbolReference<I>, clazz: Class<O>): SymbolReference<O>(source)
Adapt a SymbolReference into another SymbolReference.
Return
The adapted symbol reference.
Parameters
ref
The reference to be adapted.
clazz
The final type to be used.
<I>
The Symbol Reference before adapting.
<O>
The Symbol Reference after adapting.