FileFacade

Represents metadata of a class file containing a compiled Kotlin file facade.

File facade is a JVM class that contains declarations which do not belong to any Kotlin class: top-level functions, properties, and type aliases. For example, file Main.kt that contains only fun main() would produce a MainKt.class with FileFacade with this function metadata. If Kotlin source file contains both classes and top-level declarations, only top-level declarations would be available in the corresponding file facade. Classes would have their own JVM classfiles and their own metadata of Class kind.

Properties

Link copied to clipboard

Returns the KmPackage representation of this metadata.