getContainingKtFile¶
fun LazyParseablePsiElement.getContainingKtFile(): KtFile
Returns the KtFile containing this element.
Throws¶
IllegalStateException-
if the element is not inside a
KtFile
fun LazyParseablePsiElement.getContainingKtFile(): KtFile
Returns the KtFile containing this element.
IllegalStateExceptionif the element is not inside a KtFile