resolveDeclaration

abstract fun <T> resolveDeclaration(node: Node, resultClass: Class<T>): T(source)

For a reference it would find the corresponding declaration.