Type Lookup
abstract class TypeLookup
Content copied to clipboard
Helpers for looking up base and super types.
Constructors
TypeLookup
Link copied to clipboard
fun TypeLookup()
Content copied to clipboard
Types
ForBaseTypes
Link copied to clipboard
Helper class for finding baseTypes of a given super typeResult to calls of getAllCandidatesFor and cached internally for future reuse.
ForSuperTypes
Link copied to clipboard
Helper class for finding superTypes of given base typeResult to calls of getAllCandidatesFor and cached internally for future reuse.
Functions
getAllCandidatesFor
Link copied to clipboard
getDistinctFor
Link copied to clipboard
Gets a distinct candidate for the given typeIf there is no super type or more than one found, a ServiceNotFound is thrown.