RootPackage

open class RootPackage(name: String) : Namespace

A package with no parent. Does not have to be a single package (i.e. name can have .s).

Generally, should be used as the superclass of an object.

For an example, see com.rnett.plugin.stdlib.Kotlin.

Constructors

RootPackage
Link copied to clipboard
fun RootPackage(name: String)

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

fqName
Link copied to clipboard
val fqName: FqName

Inheritors

Kotlin
Link copied to clipboard
JavaLang
Link copied to clipboard
JavaUtil
Link copied to clipboard

Extensions

constructor
Link copied to clipboard
fun RootPackage.constructor(className: String, filter: ConstructorFilter.() -> Unit = {}): ConstructorRef

Get a constructor for the class with className in this RootPackage, matching filter.

primaryConstructor
Link copied to clipboard
fun RootPackage.primaryConstructor(className: String, filter: ConstructorFilter.() -> Unit = {}): ConstructorRef

Get the primary constructor for the class with className in this RootPackage, matching filter.

Sources

jvm source
Link copied to clipboard