getTypeReference¶
fun getTypeReference(declaration: KtCallableDeclaration): KtTypeReference?
Returns the type reference written after the : of the given callable declaration (its explicit return type or property type), or null if the type is not written explicitly.