getParentNodeOfType

open fun <T : Node?> getParentNodeOfType(clazz: Class<T>): Optional<T>(source)

Finds the first parent of the given class.

Return

Author

weigl

Parameters

clazz
node
<T>