TypeLookup

abstract class TypeLookup

Helpers for looking up base and super types.

Constructors

Link copied to clipboard
fun TypeLookup()

Types

Link copied to clipboard
data class ForBaseTypes(val baseTypes: Set<KClass<*>>) : TypeLookup

Helper class for finding baseTypes of a given super type

Link copied to clipboard
data class ForSuperTypes(val superTypes: Set<KClass<*>>) : TypeLookup

Helper class for finding superTypes of given base type

Functions

Link copied to clipboard
abstract fun getAllCandidatesFor(type: KClass<*>): Set<KClass<*>>

Get all matching types for the given type

Link copied to clipboard
fun getDistinctFor(type: KClass<*>): KClass<*>

Gets a distinct candidate for the given type

Inheritors

Link copied to clipboard
Link copied to clipboard