getParent

abstract fun getParent(): Optional<Context>(source)

Return

The parent context, if there is one. For example, a method exists within a compilation unit.