Kodein-Type

Kodein-Type Project

License

License

MIT
Categories

Categories

ASM Application Layer Libs Bytecode Manipulation
GroupId

GroupId

org.kodein.type
ArtifactId

ArtifactId

kodein-type-wasm32
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

klib
Description

Description

Kodein-Type
Kodein-Type Project
Project URL

Project URL

http://kodein.org
Source Code Management

Source Code Management

https://github.com/Kodein-Framework/Kodein-Type/tree/master

Download kodein-type-wasm32

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.3.72

Project Modules

There are no modules declared in this project.

Release

Kodein-Type

A light multiplatform Kotlin reflection API.

  • erased generates a TypeToken that represents a type without its (optional) generic parameters, available at compile-time and run-time.
  • generic generates a TypeToken that represents a type with its generic parameters, available at compile-time only.
  • erasedComp generates a TypeToken that represents a type with its generic parameters, available at run-time only.

All TypeTokens are comparable between them:

erased<String>() == generic<String>()

erased<List<*>>() == generic<List<*>>()

generic<List<String>>() == erasedComp<List<String>>(List::class, String::class)
org.kodein.type

Versions

Version
1.1.1
1.1.0
1.0.0
0.2.0
0.1.0