Constructor

data class Constructor(val classifier: Symbol.Classifier) : Symbol.Member(source)

A constructor of a Classifier.

Uses <init> as its name in its fullName to avoid collision with classes.

Constructors

Link copied to clipboard
constructor(classifier: Symbol.Classifier)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The classifier that contains the constructor

Link copied to clipboard
open override val fullName: NameSegments

The fully qualified name of the symbol.

Link copied to clipboard
open override val nameSegments: List<String>

The segments of the fully qualified name of this symbol.

Functions

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

The fully qualified name as a string.

Link copied to clipboard
open operator fun plus(segment: String): NameSegments

Resolves segment after this.

open operator override fun plus(other: NameSegments): NameSegments

Resolves other after this.

Link copied to clipboard
open fun resolve(vararg segments: String): NameSegments

Resolves segments after this.