api / org.gradle.tooling.model / HierarchicalElement / getParent

getParent

abstract fun getParent(): HierarchicalElement

Returns the parent of this element, or null if there is no parent.

Return
The parent of this element, or null if there is no parent.

Since
1.0-milestone-5