Skip to content

Simple

Represents a simple class facade.

Properties

facadeFqName

abstract val facadeFqName: FqName

The file facade class as FqName.

Example

foo.kt:

package com.example

fun baz() {}

Results to com.example.FooKt.

foo.kt:

@file:JvmName("Doo")
package com.example

fun baz() {}

Results to com.example.Doo.

foo.kt:

@file:JvmName("Doo")
@file:JvmPackageName("another.pack")
package com.example

fun baz() {}

Results to another.pack.Doo.

packageFqName

abstract val packageFqName: FqName

The file package as FqName.

FqName.ROOT is used if the file has no explicit package.

partSimpleName

abstract val partSimpleName: String

The simple class name of the facade.

Example

If the facadeFqName is com.example.FooKt, then this is FooKt.