OverloadSelector

interface OverloadSelector: Any

Fields

Name Description
abstract type: KClass<*>
abstract termToObjectConverter: TermToObjectConverter

Methods

findMethod

abstract fun findMethod(name: String, arguments: List<Term>): KCallable<*>

Parameters

Name Description
name: String
arguments: List<Term>

ReturnValue

Name Description
KCallable<*>

findProperty

abstract fun findProperty(name: String, value: Term): KMutableProperty<*>

Parameters

Name Description
name: String
value: Term

ReturnValue

Name Description
KMutableProperty<*>

findConstructor

abstract fun findConstructor(arguments: List<Term>): KCallable<*>

Parameters

Name Description
arguments: List<Term>

ReturnValue

Name Description
KCallable<*>

CompanionObject

OverloadSelector

interface OverloadSelector: Any

Methods

of

fun of(type: KClass<*>, termToObjectConverter: TermToObjectConverter): OverloadSelector

Parameters

Name Description
type: KClass<*>
termToObjectConverter: TermToObjectConverter

ReturnValue

Name Description
OverloadSelector