findAncestorOfType

open fun <T> findAncestorOfType(node: Node, clazz: Class<T>): T