ConstructorRef

class ConstructorRef : BaseReference, Reference<IrConstructorSymbol> , IConstructorFilter

A constructor reference that gets the constructor of the parent class matching the filter.

Functions

filter
Link copied to clipboard
open override fun filter(filter: (IrConstructor) -> Boolean)
getValue
Link copied to clipboard
inline operator fun getValue(thisRef: Any?, property: KProperty<*>): ConstructorRef
invoke
Link copied to clipboard
open operator override fun Int.invoke(filter: (IrValueParameter) -> Boolean)
open operator fun invoke(context: IrPluginContext): IrConstructorSymbol
matches
Link copied to clipboard
open override fun matches(function: IrConstructor): Boolean
resolve
Link copied to clipboard
open override fun resolve(context: IrPluginContext): IrConstructorSymbol
resolveOrNull
Link copied to clipboard
open override fun resolveOrNull(context: IrPluginContext): IrConstructorSymbol?
toString
Link copied to clipboard
open override fun toString(): String

Properties

fqName
Link copied to clipboard
val fqName: FqName
hasVararg
Link copied to clipboard
open override var hasVararg: Boolean?
isExpect
Link copied to clipboard
open override var isExpect: Boolean?
isPrimary
Link copied to clipboard
open override var isPrimary: Boolean?
numParameters
Link copied to clipboard
open override var numParameters: Int?
parameters
Link copied to clipboard
open override var parameters: MutableMap<Int, (IrValueParameter) -> Boolean>

Sources

jvm source
Link copied to clipboard