Kotlin Standard Library

All Types

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractCollection

Provides a skeletal implementation of the read-only Collection interface.

Common
JVM
JS
Native
1.3
kotlin.coroutines.AbstractCoroutineContextElement

Base class for CoroutineContext.Element implementations.

Common
JVM
JS
Native
1.3
kotlin.coroutines.AbstractCoroutineContextKey

Base class for CoroutineContext.Key associated with polymorphic CoroutineContext.Element implementation. Polymorphic element implementation implies delegating its get and minusKey to getPolymorphicElement and minusPolymorphicKey respectively.

Common
JVM
JS
Native
1.3
kotlin.time.AbstractDoubleTimeSource

An abstract class used to implement time sources that return their readings as Double values in the specified unit.

Common
JVM
JS
Native
1.0
kotlin.collections.AbstractIterator

A base class to simplify implementing iterators so that implementations only have to implement computeNext to implement the iterator, calling done when the iteration is complete.

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractList

Provides a skeletal implementation of the read-only List interface.

Common
JVM
JS
Native
1.9
kotlin.time.AbstractLongTimeSource

An abstract class used to implement time sources that return their readings as Long values in the specified unit.

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractMap

Provides a skeletal implementation of the read-only Map interface.

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractMutableCollection

Provides a skeletal implementation of the MutableCollection interface.

Common
JVM
JS
Native
1.0
kotlin.collections.AbstractMutableList

Provides a skeletal implementation of the MutableList interface.

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractMutableMap

Provides a skeletal implementation of the MutableMap interface.

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractMutableSet

Provides a skeletal implementation of the MutableSet interface.

Common
JVM
JS
Native
1.1
kotlin.collections.AbstractSet

Provides a skeletal implementation of the read-only Set interface.

JS
1.1
org.w3c.dom.AbstractWorker

Exposes the JavaScript AbstractWorker to Kotlin

JVM
1.0
kotlin.io.AccessDeniedException

An exception class which is used when we have not enough access for some operation.

Common
JVM
JS
Native
1.0
kotlin.Annotation

Base interface implicitly implemented by all annotation interfaces. See Kotlin language documentation for more information on annotations.

Common
JVM
JS
Native
1.0
kotlin.annotation.AnnotationRetention

Contains the list of possible annotation's retentions.

Common
JVM
JS
Native
1.0
kotlin.annotation.AnnotationTarget

Contains the list of code elements which are the possible annotation targets

Common
JVM
JS
Native
1.0
kotlin.Any

The root of the Kotlin class hierarchy. Every Kotlin class has Any as a superclass.

Common
JVM
JS
Native
1.0
kotlin.text.Appendable

An object to which char sequences and values can be appended.

JVM
1.0
(extensions in package kotlin.text)
java.lang.Appendable
Common
JVM
JS
Native
1.3
kotlin.ArithmeticException
Common
JVM
JS
Native
1.0
kotlin.Array

Represents an array (specifically, a Java array when targeting the JVM platform). Array instances can be created using the arrayOf, arrayOfNulls and emptyArray standard library functions. See Kotlin language documentation for more information on arrays.

JS
1.1
org.khronos.webgl.ArrayBuffer

Exposes the JavaScript ArrayBuffer to Kotlin

JS
1.1
org.khronos.webgl.ArrayBufferView

Exposes the JavaScript ArrayBufferView to Kotlin

Common
JVM
JS
Native
1.4
kotlin.collections.ArrayDeque

Resizable-array implementation of the deque data structure.

Common
JVM
JS
Native
1.0
kotlin.collections.ArrayList

Provides a MutableList implementation, which uses a resizable array as its backing storage.

Common
JVM
JS
Native
1.0
kotlin.AssertionError
JS
Native
1.1
kotlin.reflect.AssociatedObjectKey

Makes the annotated annotation class an associated object key.

Native
1.9
kotlin.concurrent.AtomicArray

An Array in which elements are always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.3
kotlin.native.concurrent.AtomicInt

An Int value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.9
kotlin.concurrent.AtomicInt

An Int value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.9
kotlin.concurrent.AtomicIntArray

An IntArray in which elements are always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.3
kotlin.native.concurrent.AtomicLong

A Long value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.9
kotlin.concurrent.AtomicLong

A Long value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.9
kotlin.concurrent.AtomicLongArray

An LongArray in which elements are always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.3
kotlin.native.concurrent.AtomicNativePtr

A kotlinx.cinterop.NativePtr value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.9
kotlin.concurrent.AtomicNativePtr

A kotlinx.cinterop.NativePtr value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Native
1.3
kotlin.native.concurrent.AtomicReference

An object reference that is always updated atomically.

Native
1.9
kotlin.concurrent.AtomicReference

An object reference that is always updated atomically.

JS
1.1
org.w3c.dom.Attr

Exposes the JavaScript Attr to Kotlin

JS
1.1
org.w3c.dom.AudioTrack

Exposes the JavaScript AudioTrack to Kotlin

JS
1.1
org.w3c.dom.AudioTrackList

Exposes the JavaScript AudioTrackList to Kotlin

Common
JS
Native
1.8
kotlin.AutoCloseable

A resource that can be closed or released.

Common
JVM
JS
Native
1.8
kotlin.io.encoding.Base64

Provides Base64 encoding and decoding functionality.

JS
1.1
org.w3c.dom.BeforeUnloadEvent

Exposes the JavaScript BeforeUnloadEvent to Kotlin

Native
1.3
kotlinx.cinterop.BetaInteropApi

Marks Objective-C and Swift interoperability API as Beta.

JVM
1.0
(extensions in package kotlin)
java.math.BigDecimal
JVM
1.0
(extensions in package kotlin)
java.math.BigInteger
Native
1.3
kotlin.native.BitSet

A vector of bits growing if necessary and allowing one to set/clear/read bits from it by a bit index.

JS
1.1
org.w3c.files.Blob

Exposes the JavaScript Blob to Kotlin

JS
1.1
org.w3c.fetch.Body

Exposes the JavaScript Body to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Boolean

Represents a value which is either true or false. On the JVM, non-nullable values of this type are represented as values of the primitive type boolean.

Common
JVM
JS
Native
1.0
kotlin.BooleanArray

An array of booleans. When targeting the JVM, instances of this class are represented as boolean[].

Common
JVM
JS
Native
1.0
kotlin.collections.BooleanIterator

An iterator over a sequence of values of type Boolean.

JS
1.1
org.w3c.dom.BroadcastChannel

Exposes the JavaScript BroadcastChannel to Kotlin

JVM
1.0
(extensions in package kotlin.io)
java.io.BufferedInputStream
JVM
1.0
(extensions in package kotlin.io)
java.io.BufferedReader
Common
JVM
JS
Native
1.3
kotlin.BuilderInference

Allows to infer generic type arguments of a function from the calls in the annotated function parameter of that function.

Common
JVM
JS
Native
1.0
kotlin.Byte

Represents a 8-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type byte.

Common
JVM
JS
Native
1.0
kotlin.ByteArray

An array of bytes. When targeting the JVM, instances of this class are represented as byte[].

Common
JVM
JS
Native
1.0
kotlin.collections.ByteIterator

An iterator over a sequence of values of type Byte.

JS
1.1
org.w3c.workers.Cache

Exposes the JavaScript Cache to Kotlin

JS
1.1
org.w3c.workers.CacheStorage

Exposes the JavaScript CacheStorage to Kotlin

Common
JVM
JS
Native
1.3
kotlin.contracts.CallsInPlace

An effect of calling a functional parameter in place.

Common
JVM
JS
Native
1.4
kotlin.coroutines.cancellation.CancellationException

Thrown by cancellable suspending functions if the coroutine is cancelled while it is suspended. It indicates normal cancellation of a coroutine.

JS
1.1
org.w3c.dom.CanvasGradient

Exposes the JavaScript CanvasGradient to Kotlin

JS
1.1
org.w3c.dom.CanvasPattern

Exposes the JavaScript CanvasPattern to Kotlin

JS
1.1
org.w3c.dom.CanvasRenderingContext2D

Exposes the JavaScript CanvasRenderingContext2D to Kotlin

JS
1.1
org.w3c.dom.CaretPosition

Exposes the JavaScript CaretPosition to Kotlin

JS
1.1
org.w3c.dom.CDATASection

Exposes the JavaScript CDATASection to Kotlin

Native
1.3
kotlinx.cinterop.internal.CEnumEntryAlias

Denotes property that is an alias to some enum entry.

Native
1.3
kotlinx.cinterop.internal.CEnumVarTypeSize

Stores instance size of the type T: CEnumVar.

Native
1.3
kotlinx.cinterop.CFunction

The C function.

Common
JVM
JS
Native
1.0
kotlin.Char

Represents a 16-bit Unicode character.

Common
JVM
JS
Native
1.3
kotlin.text.CharacterCodingException

The exception thrown when a character encoding or decoding error occurs.

JS
1.1
org.w3c.dom.CharacterData

Exposes the JavaScript CharacterData to Kotlin

Common
JVM
JS
Native
1.0
kotlin.CharArray

An array of chars. When targeting the JVM, instances of this class are represented as char[].

Common
JVM
JS
Native
1.0
kotlin.text.CharCategory

Represents the character general category in the Unicode specification.

JVM
1.0
kotlin.text.CharDirectionality

Represents the Unicode directionality of a character. Character directionality is used to calculate the visual ordering of text.

Common
JVM
JS
Native
1.0
kotlin.collections.CharIterator

An iterator over a sequence of values of type Char.

Common
JVM
JS
Native
1.0
kotlin.ranges.CharProgression

A progression of values of type Char.

Common
JVM
JS
Native
1.0
kotlin.ranges.CharRange

A range of values of type Char.

Common
JVM
JS
Native
1.0
kotlin.CharSequence

Represents a readable sequence of Char values.

JVM
1.0
kotlin.text.Charsets

Constant definitions for the standard charsets. These charsets are guaranteed to be available on every implementation of the Java platform.

JS
1.1
org.w3c.dom.ChildNode

Exposes the JavaScript ChildNode to Kotlin

JVM
1.0
(extensions in package kotlin.jvm)
java.lang.Class
Common
JVM
JS
Native
1.0
kotlin.ClassCastException
Native
1.9
kotlin.native.ref.Cleaner

The marker interface for objects that have a cleanup action associated with them.

JS
1.1
org.w3c.workers.Client

Exposes the JavaScript Client to Kotlin

JS
1.1
org.w3c.workers.Clients

Exposes the JavaScript Clients to Kotlin

JS
1.1
org.w3c.dom.clipboard.Clipboard

Exposes the JavaScript Clipboard to Kotlin

JS
1.1
org.w3c.dom.clipboard.ClipboardEvent

Exposes the JavaScript ClipboardEvent to Kotlin

Common
JVM
JS
Native
1.1
kotlin.ranges.ClosedFloatingPointRange

Represents a range of floating point numbers. Extends ClosedRange interface providing custom operation lessThanOrEquals for comparing values of range domain type.

Common
JVM
JS
Native
1.0
kotlin.ranges.ClosedRange

Represents a range of values (for example, numbers or characters) where both the lower and upper bounds are included in the range. See the Kotlin language documentation for more information.

JS
1.1
org.w3c.dom.CloseEvent

Exposes the JavaScript CloseEvent to Kotlin

Common
Native
1.3
kotlin.native.CName

Makes top level function available from C/C++ code with the given name.

Common
JVM
JS
Native
1.0
kotlin.collections.Collection

A generic collection of elements. Methods in this interface support only read-only access to the collection; read/write access is supported through the MutableCollection interface.

JS
1.1
org.w3c.dom.Comment

Exposes the JavaScript Comment to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Comparable

Classes which inherit from this interface have a defined total ordering between their instances.

Common
JVM
JS
Native
1.9
kotlin.time.ComparableTimeMark

A TimeMark that can be compared for difference with other time marks obtained from the same TimeSource.WithComparableMarks time source.

Common
JVM
JS
Native
1.0
kotlin.Comparator

Provides a comparison function for imposing a total ordering between instances of the type T.

JS
1.1
org.w3c.dom.events.CompositionEvent

Exposes the JavaScript CompositionEvent to Kotlin

JVM
1.0
(extensions in package kotlin.collections)
java.util.concurrent.ConcurrentMap
Common
JVM
JS
Native
1.0
kotlin.ConcurrentModificationException
Common
JVM
JS
Native
1.3
kotlin.contracts.ConditionalEffect

An effect of some condition being true after observing another effect of a function.

JS
1.1
kotlin.js.Console

Exposes the console API to Kotlin.

Native
1.3
kotlinx.cinterop.internal.ConstantValue

Collection of annotations that allow to store constant values.

JVM
1.0
(extensions in package kotlin.reflect.jvm)
java.lang.reflect.Constructor
Common
JVM
JS
Native
1.7
kotlin.ContextFunctionTypeParams

Signifies that the annotated functional type has the prefix of size count for context receivers. Thus, @ContextFunctionTypeParams(2) @ExtensionFunctionType Function4<String, Int, Double, Byte, Unit> is a normalized representation of context(String, Int) Double.(Byte) -> Unit.

Common
JVM
JS
Native
1.3
kotlin.coroutines.Continuation

Interface representing a continuation after a suspension point that returns a value of type T.

Common
JVM
JS
Native
1.3
kotlin.coroutines.ContinuationInterceptor

Marks coroutine context element that intercepts coroutine continuations. The coroutines framework uses ContinuationInterceptor.Key to retrieve the interceptor and intercepts all coroutine continuations with interceptContinuation invocations.

Common
JVM
JS
Native
1.3
kotlin.contracts.ContractBuilder

Provides a scope, where the functions of the contract DSL, such as returns, callsInPlace, etc., can be used to describe the contract of a function.

Native
1.3
kotlinx.cinterop.COpaque

The CPointed without any specified interpretation.

Native
1.3
kotlinx.cinterop.COpaquePointer

The pointer with an opaque type.

Native
1.3
kotlinx.cinterop.COpaquePointerVar

The variable containing a COpaquePointer.

JVM
JRE7
1.8
kotlin.io.path.CopyActionContext

Context for the copyAction function passed to Path.copyToRecursively.

JVM
JRE7
1.0
kotlin.io.path.CopyActionResult

The result of the copyAction function passed to Path.copyToRecursively that specifies further actions when copying an entry.

Common
JVM
JS
Native
1.3
kotlin.coroutines.CoroutineContext

Persistent context for the coroutine. It is an indexed set of Element instances. An indexed set is a mix between a set and a map. Every element in this set has a unique Key.

Native
1.3
kotlinx.cinterop.CPointed

C data or code.

Native
1.3
kotlinx.cinterop.CPointer

C pointer.

Native
1.3
kotlinx.cinterop.CPointerVar

The C data variable containing the pointer to T.

Native
1.3
kotlinx.cinterop.CPrimitiveVar

The C primitive-typed variable located in memory.

Native
1.3
kotlin.native.CpuArchitecture

Central Processor Unit architecture.

JS
1.1
org.w3c.dom.css.CSS

Exposes the JavaScript CSS to Kotlin

JS
1.1
org.w3c.dom.css.CSSGroupingRule

Exposes the JavaScript CSSGroupingRule to Kotlin

JS
1.1
org.w3c.dom.css.CSSMediaRule

Exposes the JavaScript CSSMediaRule to Kotlin

JS
1.1
org.w3c.dom.css.CSSNamespaceRule

Exposes the JavaScript CSSNamespaceRule to Kotlin

JS
1.1
org.w3c.dom.css.CSSPageRule

Exposes the JavaScript CSSPageRule to Kotlin

JS
1.1
org.w3c.dom.css.CSSRule

Exposes the JavaScript CSSRule to Kotlin

JS
1.1
org.w3c.dom.css.CSSRuleList

Exposes the JavaScript CSSRuleList to Kotlin

JS
1.1
org.w3c.dom.css.CSSStyleDeclaration

Exposes the JavaScript CSSStyleDeclaration to Kotlin

JS
1.1
org.w3c.dom.css.CSSStyleRule

Exposes the JavaScript CSSStyleRule to Kotlin

JS
1.1
org.w3c.dom.css.CSSStyleSheet

Exposes the JavaScript CSSStyleSheet to Kotlin

Native
1.3
kotlinx.cinterop.CStructVar

The C struct-typed variable located in memory.

JS
1.1
org.w3c.dom.CustomElementRegistry

Exposes the JavaScript CustomElementRegistry to Kotlin

JS
1.1
org.w3c.dom.CustomEvent

Exposes the JavaScript CustomEvent to Kotlin

Native
1.3
kotlinx.cinterop.CValue

The single immutable C value. It is self-contained and doesn't depend on native memory.

Native
1.3
kotlinx.cinterop.CValues

The (possibly empty) sequence of immutable C values. It is self-contained and doesn't depend on native memory.

Native
1.3
kotlinx.cinterop.CValuesRef

Represents a reference to (possibly empty) sequence of C values. It can be either a stable pointer CPointer or a sequence of immutable values CValues.

Native
1.3
kotlinx.cinterop.CVariable

The C data variable located in memory.

JS
1.1
org.w3c.dom.DataTransfer

Exposes the JavaScript DataTransfer to Kotlin

JS
1.1
org.w3c.dom.DataTransferItem

Exposes the JavaScript DataTransferItem to Kotlin

JS
1.1
org.w3c.dom.DataTransferItemList

Exposes the JavaScript DataTransferItemList to Kotlin

JS
1.1
org.khronos.webgl.DataView

Exposes the JavaScript DataView to Kotlin

JS
1.1
kotlin.js.Date

Exposes the Date API to Kotlin.

Native
1.9
kotlin.native.runtime.Debugging

Note: this API is unstable and may change in any release.

JS
1.1
org.w3c.dom.DedicatedWorkerGlobalScope

Exposes the JavaScript DedicatedWorkerGlobalScope to Kotlin

Common
JVM
JS
Native
1.7
kotlin.DeepRecursiveFunction

Defines deep recursive function that keeps its stack on the heap, which allows very deep recursive computations that do not use the actual call stack. To initiate a call to this deep recursive function use its invoke function. As a rule of thumb, it should be used if recursion goes deeper than a thousand calls.

Common
JVM
JS
Native
1.7
kotlin.DeepRecursiveScope

A scope class for DeepRecursiveFunction function declaration that defines callRecursive methods to recursively call this function or another DeepRecursiveFunction putting the call activation frame on the heap.

Common
JVM
JS
Native
1.0
kotlin.properties.Delegates

Standard property delegates.

Common
JVM
JS
Native
1.0
kotlin.Deprecated

Marks the annotated declaration as deprecated.

Common
JVM
JS
Native
1.4
kotlin.DeprecatedSinceKotlin

Marks the annotated declaration as deprecated. In contrast to Deprecated, severity of the reported diagnostic is not a constant value, but differs depending on the API version of the usage (the value of the -api-version argument when compiling the module where the usage is located). If the API version is greater or equal than hiddenSince, the declaration will not be accessible from the code (as if it was deprecated with level DeprecationLevel.HIDDEN), otherwise if the API version is greater or equal than errorSince, the usage will be marked as an error (as with DeprecationLevel.ERROR), otherwise if the API version is greater or equal than warningSince, the usage will be marked as a warning (as with DeprecationLevel.WARNING), otherwise the annotation is ignored.

Common
JVM
JS
Native
1.0
kotlin.DeprecationLevel

Possible levels of a deprecation. The level specifies how the deprecated element usages are reported in code.

Native
1.3
kotlin.native.concurrent.DetachedObjectGraph

Detached object graph encapsulates transferrable detached subgraph which cannot be accessed externally, until it is attached with the attach extension function.

JS
1.1
org.w3c.dom.Document

Exposes the JavaScript Document to Kotlin

JS
1.1
org.w3c.dom.DocumentFragment

Exposes the JavaScript DocumentFragment to Kotlin

JS
1.1
org.w3c.dom.DocumentOrShadowRoot

Exposes the JavaScript DocumentOrShadowRoot to Kotlin

JS
1.1
org.w3c.dom.DocumentType

Exposes the JavaScript DocumentType to Kotlin

JS
1.1
org.w3c.dom.DOMImplementation

Exposes the JavaScript DOMImplementation to Kotlin

JS
1.1
org.w3c.dom.DOMMatrix

Exposes the JavaScript DOMMatrix to Kotlin

JS
1.1
org.w3c.dom.DOMMatrixReadOnly

Exposes the JavaScript DOMMatrixReadOnly to Kotlin

JS
1.1
org.w3c.dom.parsing.DOMParser

Exposes the JavaScript DOMParser to Kotlin

JS
1.1
org.w3c.dom.DOMPoint

Exposes the JavaScript DOMPoint to Kotlin

JS
1.1
org.w3c.dom.DOMPointInit

Exposes the JavaScript DOMPointInit to Kotlin

JS
1.1
org.w3c.dom.DOMPointReadOnly

Exposes the JavaScript DOMPointReadOnly to Kotlin

JS
1.1
org.w3c.dom.DOMQuad

Exposes the JavaScript DOMQuad to Kotlin

JS
1.1
org.w3c.dom.DOMRect

Exposes the JavaScript DOMRect to Kotlin

JS
1.1
org.w3c.dom.DOMRectReadOnly

Exposes the JavaScript DOMRectReadOnly to Kotlin

JS
1.1
org.w3c.dom.DOMStringMap

Exposes the JavaScript DOMStringMap to Kotlin

JS
1.1
org.w3c.dom.DOMTokenList

Exposes the JavaScript DOMTokenList to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Double

Represents a double-precision 64-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type double.

Common
JVM
JS
Native
1.0
kotlin.DoubleArray

An array of doubles. When targeting the JVM, instances of this class are represented as double[].

Common
JVM
JS
Native
1.0
kotlin.collections.DoubleIterator

An iterator over a sequence of values of type Double.

JS
1.1
org.w3c.dom.mediacapture.DoubleRange

Exposes the JavaScript DoubleRange to Kotlin

JVM
JRE8
1.2
(extensions in package kotlin.streams)
java.util.stream.DoubleStream
JS
1.1
org.w3c.dom.DragEvent

Exposes the JavaScript DragEvent to Kotlin

Common
JVM
JS
Native
1.1
kotlin.DslMarker

When applied to annotation class X specifies that X defines a DSL language

Common
JVM
JS
Native
1.6
kotlin.time.Duration

Represents the amount of time one instant of time is away from another instant.

JVM
JRE8
1.6
(extensions in package kotlin.time)
java.time.Duration
Common
JVM
JS
Native
1.6
kotlin.time.DurationUnit

The list of possible time measurement units, in which a duration can be expressed.

JS
1.6
kotlin.js.EagerInitialization

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property.

Native
1.3
kotlin.native.EagerInitialization

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property. This annotation can be used as temporal migration assistance during the transition from the previous Kotlin/Native initialization scheme "eager by default" to the new one, "lazy by default".

Common
JVM
JS
Native
1.3
kotlin.contracts.Effect

Represents an effect of a function invocation, either directly observable, such as the function returning normally, or a side-effect, such as the function's lambda parameter being called in place.

JS
1.1
org.w3c.dom.Element

Exposes the JavaScript Element to Kotlin

Common
JVM
JS
Native
1.3
kotlin.coroutines.EmptyCoroutineContext

An empty coroutine context.

Common
JVM
JS
Native
1.0
kotlin.Enum

The common base class of all enum classes. See the Kotlin language documentation for more information on enum classes.

Common
JVM
JS
Native
1.9
kotlin.enums.EnumEntries

A specialized immutable implementation of List interface that contains all enum entries of the specified enum type E. EnumEntries contains all enum entries in the order they are declared in the source code, consistently with the corresponding Enum.ordinal values.

JVM
1.0
(extensions in package kotlin.collections)
java.util.Enumeration
JVM
1.0
(extensions in package kotlin.sequences)
java.util.Enumeration
Common
JVM
JS
Native
1.0
kotlin.Error
JS
1.1
org.w3c.dom.ErrorEvent

Exposes the JavaScript ErrorEvent to Kotlin

JS
1.1
org.w3c.dom.events.Event

Exposes the JavaScript Event to Kotlin

JS
1.1
org.w3c.dom.events.EventListener

Exposes the JavaScript EventListener to Kotlin

JS
1.1
org.w3c.dom.EventSource

Exposes the JavaScript EventSource to Kotlin

JS
1.1
org.w3c.dom.events.EventTarget

Exposes the JavaScript EventTarget to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Exception
JS
Native
1.1
kotlin.reflect.ExperimentalAssociatedObjects

The experimental marker for associated objects API.

Common
JVM
JS
Native
1.3
kotlin.contracts.ExperimentalContracts

This marker distinguishes the experimental contract declaration API and is used to opt-in for that feature when declaring contracts of user functions.

Common
JVM
JS
Native
1.8
kotlin.io.encoding.ExperimentalEncodingApi

This annotation marks the experimental API for encoding and decoding between binary data and printable ASCII character sequences.

Native
1.3
kotlinx.cinterop.ExperimentalForeignApi

Marks foreign-language-related API as experimental.

Common
JVM
JS
Native
1.4
kotlin.js.ExperimentalJsExport

Marks experimental JS export annotations.

Common
JVM
JS
Native
1.9
kotlin.js.ExperimentalJsFileName

Marks experimental JsFileName annotation.

Common
JVM
JS
Native
1.9
kotlin.js.ExperimentalJsReflectionCreateInstance

This annotation marks the experimental Kotlin/JS reflection API that allows to create an instance of provided KClass The API can be removed completely in any further release.

Common
JVM
JS
Native
1.0
kotlin.ExperimentalMultiplatform

The experimental multiplatform support API marker.

Common
JVM
JS
Native
1.9
kotlin.experimental.ExperimentalNativeApi

This annotation marks the Kotlin/Native-only standard library API that is considered experimental and is not subject to the general compatibility guarantees given for the standard library: the behavior of such API may be changed or the API may be removed completely in any further release.

Common
JVM
JS
Native
1.8
kotlin.experimental.ExperimentalObjCName

This annotation marks the experimental ObjCName annotation.

Common
JVM
JS
Native
1.8
kotlin.experimental.ExperimentalObjCRefinement

This annotation marks the experimental Objective-C export refinement annotations.

JVM
JRE7
1.4
kotlin.io.path.ExperimentalPathApi

This annotation marks the extensions and top-level functions for working with java.nio.file.Path considered experimental.

JVM
1.5
kotlin.reflect.jvm.ExperimentalReflectionOnLambdas

This annotation marks the experimental kotlin-reflect API that allows to approximate a Kotlin lambda or a function expression instance to a KFunction instance. The behavior of this API may be changed or the API may be removed completely in any further release.

Common
JVM
JS
Native
1.3
kotlin.ExperimentalStdlibApi

This annotation marks the standard library API that is considered experimental and is not subject to the general compatibility guarantees given for the standard library: the behavior of such API may be changed or the API may be removed completely in any further release.

Common
JVM
JS
Native
1.8
kotlin.ExperimentalSubclassOptIn

This annotation marks the experimental preview of the language feature SubclassOptInRequired.

Common
JVM
JS
Native
1.3
kotlin.time.ExperimentalTime

This annotation marks the experimental preview of the standard library API for measuring time and working with durations.

Common
JVM
JS
Native
1.3
kotlin.experimental.ExperimentalTypeInference

The experimental marker for type inference augmenting annotations.

Common
JVM
JS
Native
1.0
kotlin.ExperimentalUnsignedTypes

Marks the API that is dependent on the experimental unsigned types, including those types themselves.

Native
1.3
kotlinx.cinterop.ExportObjCClass

Makes Kotlin subclass of Objective-C class visible for runtime lookup after Kotlin main function gets invoked.

JS
1.1
org.w3c.workers.ExtendableEvent

Exposes the JavaScript ExtendableEvent to Kotlin

JS
1.1
org.w3c.workers.ExtendableMessageEvent

Exposes the JavaScript ExtendableMessageEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.ExtensionFunctionType

Signifies that the annotated functional type represents an extension function.

JS
1.1
org.w3c.workers.FetchEvent

Exposes the JavaScript FetchEvent to Kotlin

JVM
1.0
(extensions in package kotlin.reflect.jvm)
java.lang.reflect.Field
JVM
1.0
(extensions in package kotlin.io)
java.io.File
JS
1.1
org.w3c.files.File

Exposes the JavaScript File to Kotlin

JVM
1.0
kotlin.io.FileAlreadyExistsException

An exception class which is used when some file to create or copy to already exists.

JS
1.1
org.w3c.files.FileList

Exposes the JavaScript FileList to Kotlin

JS
1.1
org.w3c.files.FileReader

Exposes the JavaScript FileReader to Kotlin

JS
1.1
org.w3c.files.FileReaderSync

Exposes the JavaScript FileReaderSync to Kotlin

JVM
1.0
kotlin.io.FileSystemException

A base exception class for file system exceptions.

JVM
1.0
kotlin.io.FileTreeWalk

This class is intended to implement different file traversal methods. It allows to iterate through all files inside a given directory.

JVM
JRE7
1.7
kotlin.io.path.FileVisitorBuilder

The builder to provide implementation of the file visitor that fileVisitor builds.

JVM
1.0
kotlin.io.FileWalkDirection

An enumeration to describe possible walk directions. There are two of them: beginning from parents, ending with children, and beginning from children, ending with parents. Both use depth-first search.

Common
JVM
JS
Native
1.0
kotlin.Float

Represents a single-precision 32-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type float.

JS
1.1
org.khronos.webgl.Float32Array

Exposes the JavaScript Float32Array to Kotlin

JS
1.1
org.khronos.webgl.Float64Array

Exposes the JavaScript Float64Array to Kotlin

Common
JVM
JS
Native
1.0
kotlin.FloatArray

An array of floats. When targeting the JVM, instances of this class are represented as float[].

Common
JVM
JS
Native
1.0
kotlin.collections.FloatIterator

An iterator over a sequence of values of type Float.

JS
1.1
org.w3c.dom.events.FocusEvent

Exposes the JavaScript FocusEvent to Kotlin

JS
1.1
org.w3c.xhr.FormData

Exposes the JavaScript FormData to Kotlin

Native
1.3
kotlin.native.concurrent.FreezableAtomicReference

This class was useful only with legacy memory manager. Please use AtomicReference instead.

Native
1.3
kotlin.native.concurrent.FreezingException

Exception thrown whenever freezing is not possible.

Common
Native
1.7
kotlin.native.FreezingIsDeprecated

Freezing API is deprecated since 1.7.20.

Common
JVM
JS
Native
1.0
kotlin.Function

Represents a value of a functional type, such as a lambda, an anonymous function or a function reference.

Native
1.3
kotlin.native.concurrent.FutureState

State of the future object.

Native
1.9
kotlin.native.runtime.GC

Note: this API is unstable and may change in any release.

Native
1.9
kotlin.native.runtime.GCInfo

This class represents statistics about the single run of the garbage collector. It is supposed to be used for testing and debugging purposes only.

JS
1.1
org.w3c.dom.GeometryUtils

Exposes the JavaScript GeometryUtils to Kotlin

JS
1.1
org.w3c.dom.GlobalEventHandlers

Exposes the JavaScript GlobalEventHandlers to Kotlin

Common
JVM
JS
Native
1.1
kotlin.collections.Grouping

Represents a source of elements with a keyOf function, which can be applied to each element to get its key.

JS
1.1
org.w3c.dom.HashChangeEvent

Exposes the JavaScript HashChangeEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.collections.HashMap

Hash table based implementation of the MutableMap interface.

Common
JVM
JS
Native
1.0
kotlin.collections.HashSet

The implementation of the MutableSet interface, backed by a InternalMap implementation.

JS
1.1
org.w3c.fetch.Headers

Exposes the JavaScript Headers to Kotlin

Common
JVM
JS
Native
1.9
kotlin.text.HexFormat

Represents hexadecimal format options.

Common
Native
1.8
kotlin.native.HiddenFromObjC

Instructs the Kotlin compiler to remove this class, function or property from the public Objective-C API.

Common
Native
1.8
kotlin.native.HidesFromObjC

Meta-annotation that instructs the Kotlin compiler to remove the annotated class, function or property from the public Objective-C API.

JS
1.1
org.w3c.dom.History

Exposes the JavaScript History to Kotlin

JS
1.1
org.w3c.dom.HTMLAnchorElement

Exposes the JavaScript HTMLAnchorElement to Kotlin

JS
1.1
org.w3c.dom.HTMLAreaElement

Exposes the JavaScript HTMLAreaElement to Kotlin

JS
1.1
org.w3c.dom.HTMLAudioElement

Exposes the JavaScript HTMLAudioElement to Kotlin

JS
1.1
org.w3c.dom.HTMLBaseElement

Exposes the JavaScript HTMLBaseElement to Kotlin

JS
1.1
org.w3c.dom.HTMLBodyElement

Exposes the JavaScript HTMLBodyElement to Kotlin

JS
1.1
org.w3c.dom.HTMLBRElement

Exposes the JavaScript HTMLBRElement to Kotlin

JS
1.1
org.w3c.dom.HTMLButtonElement

Exposes the JavaScript HTMLButtonElement to Kotlin

JS
1.1
org.w3c.dom.HTMLCanvasElement

Exposes the JavaScript HTMLCanvasElement to Kotlin

JS
1.1
org.w3c.dom.HTMLCollection

Exposes the JavaScript HTMLCollection to Kotlin

JS
1.1
org.w3c.dom.HTMLDataElement

Exposes the JavaScript HTMLDataElement to Kotlin

JS
1.1
org.w3c.dom.HTMLDataListElement

Exposes the JavaScript HTMLDataListElement to Kotlin

JS
1.1
org.w3c.dom.HTMLDetailsElement

Exposes the JavaScript HTMLDetailsElement to Kotlin

JS
1.1
org.w3c.dom.HTMLDialogElement

Exposes the JavaScript HTMLDialogElement to Kotlin

JS
1.1
org.w3c.dom.HTMLDivElement

Exposes the JavaScript HTMLDivElement to Kotlin

JS
1.1
org.w3c.dom.HTMLDListElement

Exposes the JavaScript HTMLDListElement to Kotlin

JS
1.1
org.w3c.dom.HTMLElement

Exposes the JavaScript HTMLElement to Kotlin

JS
1.1
org.w3c.dom.HTMLEmbedElement

Exposes the JavaScript HTMLEmbedElement to Kotlin

JS
1.1
org.w3c.dom.HTMLFieldSetElement

Exposes the JavaScript HTMLFieldSetElement to Kotlin

JS
1.1
org.w3c.dom.HTMLFontElement

Exposes the JavaScript HTMLFontElement to Kotlin

JS
1.1
org.w3c.dom.HTMLFormControlsCollection

Exposes the JavaScript HTMLFormControlsCollection to Kotlin

JS
1.1
org.w3c.dom.HTMLFormElement

Exposes the JavaScript HTMLFormElement to Kotlin

JS
1.1
org.w3c.dom.HTMLFrameSetElement

Exposes the JavaScript HTMLFrameSetElement to Kotlin

JS
1.1
org.w3c.dom.HTMLHeadElement

Exposes the JavaScript HTMLHeadElement to Kotlin

JS
1.1
org.w3c.dom.HTMLHeadingElement

Exposes the JavaScript HTMLHeadingElement to Kotlin

JS
1.1
org.w3c.dom.HTMLHRElement

Exposes the JavaScript HTMLHRElement to Kotlin

JS
1.1
org.w3c.dom.HTMLHtmlElement

Exposes the JavaScript HTMLHtmlElement to Kotlin

JS
1.1
org.w3c.dom.HTMLHyperlinkElementUtils

Exposes the JavaScript HTMLHyperlinkElementUtils to Kotlin

JS
1.1
org.w3c.dom.HTMLIFrameElement

Exposes the JavaScript HTMLIFrameElement to Kotlin

JS
1.1
org.w3c.dom.HTMLImageElement

Exposes the JavaScript HTMLImageElement to Kotlin

JS
1.1
org.w3c.dom.HTMLInputElement

Exposes the JavaScript HTMLInputElement to Kotlin

JS
1.1
org.w3c.dom.HTMLKeygenElement

Exposes the JavaScript HTMLKeygenElement to Kotlin

JS
1.1
org.w3c.dom.HTMLLabelElement

Exposes the JavaScript HTMLLabelElement to Kotlin

JS
1.1
org.w3c.dom.HTMLLegendElement

Exposes the JavaScript HTMLLegendElement to Kotlin

JS
1.1
org.w3c.dom.HTMLLIElement

Exposes the JavaScript HTMLLIElement to Kotlin

JS
1.1
org.w3c.dom.HTMLLinkElement

Exposes the JavaScript HTMLLinkElement to Kotlin

JS
1.1
org.w3c.dom.HTMLMapElement

Exposes the JavaScript HTMLMapElement to Kotlin

JS
1.1
org.w3c.dom.HTMLMarqueeElement

Exposes the JavaScript HTMLMarqueeElement to Kotlin

JS
1.1
org.w3c.dom.HTMLMediaElement

Exposes the JavaScript HTMLMediaElement to Kotlin

JS
1.1
org.w3c.dom.HTMLMetaElement

Exposes the JavaScript HTMLMetaElement to Kotlin

JS
1.1
org.w3c.dom.HTMLMeterElement

Exposes the JavaScript HTMLMeterElement to Kotlin

JS
1.1
org.w3c.dom.HTMLModElement

Exposes the JavaScript HTMLModElement to Kotlin

JS
1.1
org.w3c.dom.HTMLObjectElement

Exposes the JavaScript HTMLObjectElement to Kotlin

JS
1.1
org.w3c.dom.HTMLOListElement

Exposes the JavaScript HTMLOListElement to Kotlin

JS
1.1
org.w3c.dom.HTMLOptGroupElement

Exposes the JavaScript HTMLOptGroupElement to Kotlin

JS
1.1
org.w3c.dom.HTMLOptionElement

Exposes the JavaScript HTMLOptionElement to Kotlin

JS
1.1
org.w3c.dom.HTMLOptionsCollection

Exposes the JavaScript HTMLOptionsCollection to Kotlin

JS
1.1
org.w3c.dom.HTMLOutputElement

Exposes the JavaScript HTMLOutputElement to Kotlin

JS
1.1
org.w3c.dom.HTMLParagraphElement

Exposes the JavaScript HTMLParagraphElement to Kotlin

JS
1.1
org.w3c.dom.HTMLParamElement

Exposes the JavaScript HTMLParamElement to Kotlin

JS
1.1
org.w3c.dom.HTMLPictureElement

Exposes the JavaScript HTMLPictureElement to Kotlin

JS
1.1
org.w3c.dom.HTMLPreElement

Exposes the JavaScript HTMLPreElement to Kotlin

JS
1.1
org.w3c.dom.HTMLProgressElement

Exposes the JavaScript HTMLProgressElement to Kotlin

JS
1.1
org.w3c.dom.HTMLQuoteElement

Exposes the JavaScript HTMLQuoteElement to Kotlin

JS
1.1
org.w3c.dom.HTMLScriptElement

Exposes the JavaScript HTMLScriptElement to Kotlin

JS
1.1
org.w3c.dom.HTMLSelectElement

Exposes the JavaScript HTMLSelectElement to Kotlin

JS
1.1
org.w3c.dom.HTMLSlotElement

Exposes the JavaScript HTMLSlotElement to Kotlin

JS
1.1
org.w3c.dom.HTMLSourceElement

Exposes the JavaScript HTMLSourceElement to Kotlin

JS
1.1
org.w3c.dom.HTMLSpanElement

Exposes the JavaScript HTMLSpanElement to Kotlin

JS
1.1
org.w3c.dom.HTMLStyleElement

Exposes the JavaScript HTMLStyleElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTableCaptionElement

Exposes the JavaScript HTMLTableCaptionElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTableCellElement

Exposes the JavaScript HTMLTableCellElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTableColElement

Exposes the JavaScript HTMLTableColElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTableElement

Exposes the JavaScript HTMLTableElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTableRowElement

Exposes the JavaScript HTMLTableRowElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTableSectionElement

Exposes the JavaScript HTMLTableSectionElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTemplateElement

Exposes the JavaScript HTMLTemplateElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTextAreaElement

Exposes the JavaScript HTMLTextAreaElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTimeElement

Exposes the JavaScript HTMLTimeElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTitleElement

Exposes the JavaScript HTMLTitleElement to Kotlin

JS
1.1
org.w3c.dom.HTMLTrackElement

Exposes the JavaScript HTMLTrackElement to Kotlin

JS
1.1
org.w3c.dom.HTMLUListElement

Exposes the JavaScript HTMLUListElement to Kotlin

JS
1.1
org.w3c.dom.HTMLUnknownElement

Exposes the JavaScript HTMLUnknownElement to Kotlin

JS
1.1
org.w3c.dom.HTMLVideoElement

Exposes the JavaScript HTMLVideoElement to Kotlin

Common
JVM
JS
Native
1.0
kotlin.IllegalArgumentException
JVM
1.1
kotlin.reflect.full.IllegalCallableAccessException

An exception that is thrown when call is invoked on a callable or get or set is invoked on a property and that callable is not accessible (in JVM terms) from the calling method.

JVM
1.1
kotlin.reflect.full.IllegalPropertyDelegateAccessException

An exception that is thrown when getDelegate is invoked on a KProperty object that was not made accessible with isAccessible.

Common
JVM
JS
Native
1.0
kotlin.IllegalStateException
JS
1.1
org.w3c.dom.Image

Exposes the JavaScript Image to Kotlin

JS
1.1
org.w3c.dom.ImageBitmap

Exposes the JavaScript ImageBitmap to Kotlin

JS
1.1
org.w3c.dom.ImageData

Exposes the JavaScript ImageData to Kotlin

Native
1.3
kotlin.native.ImmutableBlob

An immutable compile-time array of bytes.

Common
JVM
1.9
kotlin.jvm.ImplicitlyActualizedByJvmDeclaration

This annotation marks Kotlin expect declarations that are implicitly actualized by Java.

Native
1.3
kotlin.native.IncorrectDereferenceException

Exception thrown when top level variable is accessed from incorrect execution context.

Common
JVM
JS
Native
1.0
kotlin.collections.IndexedValue

Data class representing a value from a collection or sequence, along with its index in that collection or sequence.

Common
JVM
JS
Native
1.0
kotlin.IndexOutOfBoundsException
JS
1.1
org.w3c.dom.events.InputEvent

Exposes the JavaScript InputEvent to Kotlin

JVM
1.0
(extensions in package kotlin.io)
java.io.InputStream
JVM
1.8
(extensions in package kotlin.io.encoding)
java.io.InputStream
JS
1.1
org.w3c.workers.InstallEvent

Exposes the JavaScript InstallEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Int

Represents a 32-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type int.

JS
1.1
org.khronos.webgl.Int16Array

Exposes the JavaScript Int16Array to Kotlin

JS
1.1
org.khronos.webgl.Int32Array

Exposes the JavaScript Int32Array to Kotlin

JS
1.1
org.khronos.webgl.Int8Array

Exposes the JavaScript Int8Array to Kotlin

Common
JVM
JS
Native
1.0
kotlin.IntArray

An array of ints. When targeting the JVM, instances of this class are represented as int[].

Common
JVM
JS
Native
1.0
kotlin.collections.IntIterator

An iterator over a sequence of values of type Int.

Common
JVM
JS
Native
1.0
kotlin.ranges.IntProgression

A progression of values of type Int.

Common
JVM
JS
Native
1.0
kotlin.ranges.IntRange

A range of values of type Int.

JVM
JRE8
1.2
(extensions in package kotlin.streams)
java.util.stream.IntStream
Native
1.3
kotlin.native.concurrent.InvalidMutabilityException

Exception thrown whenever we attempt to mutate frozen objects.

Common
JVM
JS
Native
1.3
kotlin.contracts.InvocationKind

Specifies how many times a function invokes its function parameter in place.

Common
JVM
JS
Native
1.0
kotlin.collections.Iterable

Classes that inherit from this interface can be represented as a sequence of elements that can be iterated over.

Common
JVM
JS
Native
1.0
kotlin.collections.Iterator

An iterator over a collection or another entity that can be represented as a sequence of elements. Allows to sequentially access the elements.

JS
1.1
kotlin.js.JsClass

Represents the constructor of a class. Instances of JsClass can be passed to JavaScript APIs that expect a constructor reference.

Common
JS
1.3
kotlin.js.JsExport

Exports top-level declaration on JS platform.

JS
1.9
kotlin.js.JsExternalArgument

When placed on a function parameter, requires the type of the passed argument to be external.

JS
1.9
kotlin.js.JsExternalInheritorsOnly

When placed on an external interface or class, requires all its child interfaces, classes, and objects to be external as well.

Common
JS
1.9
kotlin.js.JsFileName

Specifies the name of the compiled file produced from the annotated source file instead of the default one.

JS
1.1
kotlin.js.JsModule

Denotes an external declaration that must be imported from native JavaScript library.

Common
JS
1.0
kotlin.js.JsName

Gives a declaration (a function, a property or a class) specific name in JavaScript.

JS
1.1
kotlin.js.JsNonModule

Denotes an external declaration that can be used without module system.

JS
1.1
kotlin.js.Json

An interface for indexing access to a collection of key-value pairs, where type of key is String and type of value is Any?.

JS
1.1
kotlin.js.JSON

Exposes the JavaScript JSON object to Kotlin.

JS
1.1
kotlin.js.JsQualifier

Adds prefix to external declarations in a source file.

JVM
1.2
kotlin.jvm.JvmDefault

Specifies that a JVM default method should be generated for non-abstract Kotlin interface member.

JVM
1.6
kotlin.jvm.JvmDefaultWithCompatibility

Forces the compiler to generate compatibility accessors for the annotated interface in the DefaultImpls class. Please note that if an interface is annotated with this annotation for binary compatibility, public derived Kotlin interfaces should also be annotated with it, because their DefaultImpls methods will be used to access implementations from the DefaultImpls class of the original interface.

JVM
1.4
kotlin.jvm.JvmDefaultWithoutCompatibility

Prevents the compiler from generating compatibility accessors for the annotated class or interface, and suppresses any related compatibility warnings. In other words, this annotation makes the compiler generate the annotated class or interface in the -Xjvm-default=all mode, where only JVM default methods are generated, without DefaultImpls.

Common
JVM
1.0
kotlin.jvm.JvmField

Instructs the Kotlin compiler not to generate getters/setters for this property and expose it as a field.

Common
JVM
1.5
kotlin.jvm.JvmInline

Specifies that given value class is inline class.

Common
JVM
1.0
kotlin.jvm.JvmMultifileClass

Instructs the Kotlin compiler to generate a multifile class with top-level functions and properties declared in this file as one of its parts. Name of the corresponding multifile class is provided by the JvmName annotation.

Common
JVM
1.0
kotlin.jvm.JvmName

Specifies the name for the Java class or method which is generated from this element.

Common
JVM
1.0
kotlin.jvm.JvmOverloads

Instructs the Kotlin compiler to generate overloads for this function that substitute default parameter values.

Common
JVM
1.5
kotlin.jvm.JvmRecord

Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods

JVM
JRE8
1.6
kotlin.jvm.JvmRepeatable

Makes the annotation class repeatable in Java and Kotlin. A repeatable annotation can be applied more than once on the same element.

Common
JVM
1.8
kotlin.jvm.JvmSerializableLambda

Makes the annotated lambda function implement java.io.Serializable, generates a pretty toString implementation and adds reflection metadata.

Common
JVM
1.0
kotlin.jvm.JvmStatic

Specifies that an additional static method needs to be generated from this element if it's a function. If this element is a property, additional static getter/setter methods should be generated.

Common
JVM
1.0
kotlin.jvm.JvmSuppressWildcards

Instructs compiler to generate or omit wildcards for type arguments corresponding to parameters with declaration-site variance, for example such as Collection<out T> has.

Common
JVM
1.0
kotlin.jvm.JvmSynthetic

Sets ACC_SYNTHETIC flag on the annotated target in the Java bytecode.

Common
JVM
1.0
kotlin.jvm.JvmWildcard

Instructs compiler to generate wildcard for annotated type arguments corresponding to parameters with declaration-site variance.

JVM
Native
1.0
kotlin.reflect.KAnnotatedElement

Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.

Common
JVM
JS
Native
1.0
kotlin.reflect.KCallable

Represents a callable entity, such as a function or a property.

Common
JVM
JS
Native
1.0
kotlin.reflect.KClass

Represents a class and provides introspection capabilities. Instances of this class are obtainable by the ::class syntax. See the Kotlin language documentation for more information.

Common
JVM
JS
Native
1.1
kotlin.reflect.KClassifier

A classifier is either a class or a type parameter.

JVM
Native
1.0
kotlin.reflect.KDeclarationContainer

Represents an entity which may contain declarations of any other entities, such as a class or a package.

JS
1.1
org.w3c.dom.events.KeyboardEvent

Exposes the JavaScript KeyboardEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.reflect.KFunction

Represents a function with introspection capabilities.

Common
JVM
JS
Native
1.0
kotlin.reflect.KMutableProperty

Represents a property declared as a var.

Common
JVM
JS
Native
1.0
kotlin.reflect.KMutableProperty0

Represents a var-property without any kind of receiver.

Common
JVM
JS
Native
1.0
kotlin.reflect.KMutableProperty1

Represents a var-property, operations on which take one receiver as a parameter.

Common
JVM
JS
Native
1.0
kotlin.reflect.KMutableProperty2

Represents a var-property, operations on which take two receivers as parameters.

Common
JVM
JS
Native
1.1
kotlin.KotlinVersion

Represents a version of the Kotlin standard library.

JVM
1.0
kotlin.reflect.KParameter

Represents a parameter passed to a function or a property getter/setter, including this and extension receiver parameters.

Common
JVM
JS
Native
1.0
kotlin.reflect.KProperty

Represents a property, such as a named val or var declaration. Instances of this class are obtainable by the :: operator.

Common
JVM
JS
Native
1.0
kotlin.reflect.KProperty0

Represents a property without any kind of receiver. Such property is either originally declared in a receiverless context such as a package, or has the receiver bound to it.

Common
JVM
JS
Native
1.0
kotlin.reflect.KProperty1

Represents a property, operations on which take one receiver as a parameter.

Common
JVM
JS
Native
1.0
kotlin.reflect.KProperty2

Represents a property, operations on which take two receivers as parameters, such as an extension property declared in a class.

Common
JVM
JS
Native
1.0
kotlin.reflect.KType

Represents a type. Type is usually either a class with optional type arguments, or a type parameter of some declaration, plus nullability.

Common
JVM
JS
Native
1.1
kotlin.reflect.KTypeParameter

Represents a declaration of a type parameter of a class or a callable. See the Kotlin language documentation for more information.

Common
JVM
JS
Native
1.1
kotlin.reflect.KTypeProjection

Represents a type projection. Type projection is usually the argument to another type in a type usage. For example, in the type Array<out Number>, out Number is the covariant projection of the type represented by the class Number.

Common
JVM
JS
Native
1.1
kotlin.reflect.KVariance

Represents variance applied to a type parameter on the declaration site (declaration-site variance), or to a type in a projection (use-site variance).

JVM
1.1
kotlin.reflect.KVisibility

Visibility is an aspect of a Kotlin declaration regulating where that declaration is accessible in the source code. Visibility can be changed with one of the following modifiers: public, protected, internal, private.

Common
JVM
JS
Native
1.0
kotlin.Lazy

Represents a value with lazy initialization.

Common
JVM
JS
Native
1.0
kotlin.LazyThreadSafetyMode

Specifies how a Lazy instance synchronizes initialization among multiple threads.

Common
JVM
JS
Native
1.0
kotlin.collections.LinkedHashMap

Hash table based implementation of the MutableMap interface, which additionally preserves the insertion order of entries during the iteration.

Common
JVM
JS
Native
1.0
kotlin.collections.LinkedHashSet

The implementation of the MutableSet interface, backed by a InternalMap implementation.

JS
1.1
org.w3c.dom.css.LinkStyle

Exposes the JavaScript LinkStyle to Kotlin

Common
JVM
JS
Native
1.0
kotlin.collections.List

A generic ordered collection of elements. Methods in this interface support only read-only access to the list; read/write access is supported through the MutableList interface.

Common
JVM
JS
Native
1.0
kotlin.collections.ListIterator

An iterator over a collection that supports indexed access.

JS
1.1
org.w3c.dom.Location

Exposes the JavaScript Location to Kotlin

JVM
1.0
(extensions in package kotlin.concurrent)
java.util.concurrent.locks.Lock
Common
JVM
JS
Native
1.0
kotlin.Long

Represents a 64-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type long.

Common
JVM
JS
Native
1.0
kotlin.LongArray

An array of longs. When targeting the JVM, instances of this class are represented as long[].

Common
JVM
JS
Native
1.0
kotlin.collections.LongIterator

An iterator over a sequence of values of type Long.

Common
JVM
JS
Native
1.0
kotlin.ranges.LongProgression

A progression of values of type Long.

Common
JVM
JS
Native
1.0
kotlin.ranges.LongRange

A range of values of type Long.

JVM
JRE8
1.2
(extensions in package kotlin.streams)
java.util.stream.LongStream
Common
JVM
JS
Native
1.0
kotlin.collections.Map

A collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key. Map keys are unique; the map holds only one value for each key. Methods in this interface support only read-only access to the map; read-write access is supported through the MutableMap interface.

Common
JVM
JS
Native
1.0
kotlin.text.MatchGroup

Represents the results from a single capturing group within a MatchResult of Regex.

Common
JVM
JS
Native
1.0
kotlin.text.MatchGroupCollection

Represents a collection of captured groups in a single match of a regular expression.

Common
JVM
JS
Native
1.1
kotlin.text.MatchNamedGroupCollection

Extends MatchGroupCollection by introducing a way to get matched groups by name, when regex supports it.

Common
JVM
JS
Native
1.0
kotlin.text.MatchResult

Represents the results from a single regular expression match.

JS
1.1
org.w3c.dom.mediacapture.MediaDeviceInfo

Exposes the JavaScript MediaDeviceInfo to Kotlin

JS
1.1
org.w3c.dom.mediacapture.MediaDevices

Exposes the JavaScript MediaDevices to Kotlin

JS
1.1
org.w3c.dom.MediaError

Exposes the JavaScript MediaError to Kotlin

JS
1.1
org.w3c.dom.encryptedmedia.MediaKeys

Exposes the JavaScript MediaKeys to Kotlin

JS
1.1
org.w3c.dom.encryptedmedia.MediaKeySession

Exposes the JavaScript MediaKeySession to Kotlin

JS
1.1
org.w3c.dom.encryptedmedia.MediaKeyStatusMap

Exposes the JavaScript MediaKeyStatusMap to Kotlin

JS
1.1
org.w3c.dom.MediaQueryList

Exposes the JavaScript MediaQueryList to Kotlin

JS
1.1
org.w3c.dom.MediaQueryListEvent

Exposes the JavaScript MediaQueryListEvent to Kotlin

JS
1.1
org.w3c.dom.mediasource.MediaSource

Exposes the JavaScript MediaSource to Kotlin

JS
1.1
org.w3c.dom.mediacapture.MediaStream

Exposes the JavaScript MediaStream to Kotlin

JS
1.1
org.w3c.dom.mediacapture.MediaStreamTrack

Exposes the JavaScript MediaStreamTrack to Kotlin

JS
1.1
org.w3c.dom.mediacapture.MediaTrackSettings

Exposes the JavaScript MediaTrackSettings to Kotlin

Native
1.3
kotlin.native.MemoryModel

Memory model.

Native
1.9
kotlin.native.runtime.MemoryUsage

This class represents statistics of memory usage in one memory pool.

JS
1.1
org.w3c.dom.MessageChannel

Exposes the JavaScript MessageChannel to Kotlin

JS
1.1
org.w3c.dom.MessageEvent

Exposes the JavaScript MessageEvent to Kotlin

JS
1.1
org.w3c.dom.MessagePort

Exposes the JavaScript MessagePort to Kotlin

JVM
1.3
kotlin.Metadata

This annotation is present on any class file produced by the Kotlin compiler and is read by the compiler and reflection. Parameters have very short JVM names on purpose: these names appear in all generated class files, and we'd like to reduce their size.

JVM
1.0
(extensions in package kotlin.reflect.jvm)
java.lang.reflect.Method
JS
1.1
org.w3c.dom.MimeType

Exposes the JavaScript MimeType to Kotlin

JS
1.1
org.w3c.dom.MimeTypeArray

Exposes the JavaScript MimeTypeArray to Kotlin

JS
1.1
org.w3c.dom.events.MouseEvent

Exposes the JavaScript MouseEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.annotation.MustBeDocumented

This meta-annotation determines that an annotation is a part of public API and therefore should be included in the generated documentation for the element to which the annotation is applied.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableCollection

A generic collection of elements that supports adding and removing elements.

Native
1.3
kotlin.native.concurrent.MutableData

Mutable concurrently accessible data buffer. Could be accessed from several workers simultaneously.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableIterable

Classes that inherit from this interface can be represented as a sequence of elements that can be iterated over and that supports removing elements during iteration.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableIterator

An iterator over a mutable collection. Provides the ability to remove elements while iterating.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableList

A generic ordered collection of elements that supports adding and removing elements.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableListIterator

An iterator over a mutable collection that supports indexed access. Provides the ability to add, modify and remove elements while iterating.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableMap

A modifiable collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key. Map keys are unique; the map holds only one value for each key.

Common
JVM
JS
Native
1.0
kotlin.collections.MutableSet

A generic unordered collection of elements that does not support duplicate elements, and supports adding and removing elements.

JS
1.1
org.w3c.dom.MutationObserver

Exposes the JavaScript MutationObserver to Kotlin

JS
1.1
org.w3c.dom.MutationObserverInit

Exposes the JavaScript MutationObserverInit to Kotlin

JS
1.1
org.w3c.dom.MutationRecord

Exposes the JavaScript MutationRecord to Kotlin

JS
1.1
org.w3c.dom.NamedNodeMap

Exposes the JavaScript NamedNodeMap to Kotlin

Native
1.3
kotlinx.cinterop.NativePointed

The entity which has an associated native pointer. Subtypes are supposed to represent interpretations of the pointed data or code.

Native
1.9
kotlin.native.runtime.NativeRuntimeApi

This annotation marks the Kotlin/Native standard library API that tweaks or otherwise accesses the Kotlin runtime behavior.

JS
1.1
org.w3c.dom.Navigator

Exposes the JavaScript Navigator to Kotlin

JS
1.1
org.w3c.dom.NavigatorID

Exposes the JavaScript NavigatorID to Kotlin

JS
1.1
org.w3c.dom.NavigatorLanguage

Exposes the JavaScript NavigatorLanguage to Kotlin

JS
1.1
org.w3c.dom.NavigatorOnLine

Exposes the JavaScript NavigatorOnLine to Kotlin

JS
1.1
org.w3c.dom.NavigatorPlugins

Exposes the JavaScript NavigatorPlugins to Kotlin

JS
1.1
org.w3c.dom.Node

Exposes the JavaScript Node to Kotlin

JS
1.1
org.w3c.dom.NodeFilter

Exposes the JavaScript NodeFilter to Kotlin

JS
1.1
org.w3c.dom.NodeIterator

Exposes the JavaScript NodeIterator to Kotlin

JS
1.1
org.w3c.dom.NodeList

Exposes the JavaScript NodeList to Kotlin

JS
1.1
org.w3c.dom.NonDocumentTypeChildNode

Exposes the JavaScript NonDocumentTypeChildNode to Kotlin

Common
JVM
JS
Native
1.0
kotlin.NoSuchElementException
JVM
1.0
kotlin.io.NoSuchFileException

An exception class which is used when file to copy does not exist.

JVM
1.1
kotlin.reflect.full.NoSuchPropertyException

An exception that is thrown when the code tries to introspect a property of a class or a package and that class or the package no longer has that property.

Common
JVM
JS
Native
1.0
kotlin.Nothing

Nothing has no instances. You can use Nothing to represent "a value that never exists": for example, if a function has the return type of Nothing, it means that it never returns (always throws an exception).

JS
1.1
org.w3c.notifications.Notification

Exposes the JavaScript Notification to Kotlin

JS
1.1
org.w3c.notifications.NotificationEvent

Exposes the JavaScript NotificationEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.NotImplementedError

An exception is thrown to indicate that a method body remains to be implemented.

Common
JVM
JS
Native
1.0
kotlin.NullPointerException
Common
JVM
JS
Native
1.0
kotlin.Number

Superclass for all platform classes representing numeric values.

Common
JVM
JS
Native
1.0
kotlin.NumberFormatException
Native
1.3
kotlinx.cinterop.ObjCAction

Makes Kotlin method in Objective-C class accessible through Objective-C dispatch to be used as action sent by control in UIKit or AppKit.

Common
Native
1.8
kotlin.native.ObjCName

Instructs the Kotlin compiler to use a custom Objective-C and/or Swift name for this class, property, parameter or function.

Native
1.3
kotlinx.cinterop.ObjCOutlet

Makes Kotlin property in Objective-C class settable through Objective-C dispatch to be used as IB outlet.

Common
JVM
JS
Native
1.0
kotlin.properties.ObservableProperty

Implements the core logic of a property delegate for a read/write property that calls callback functions when changed.

Native
1.9
kotlin.native.ObsoleteNativeApi

This annotation marks the Kotlin/Native standard library API that is considered obsolete and is being phased out.

Native
1.9
kotlin.native.concurrent.ObsoleteWorkersApi

Marks all Worker-related API as obsolete.

JVM
1.0
kotlin.io.OnErrorAction

Enum that can be used to specify behaviour of the copyRecursively() function in exceptional conditions.

JVM
JRE7
1.0
kotlin.io.path.OnErrorResult

The result of the onError function passed to Path.copyToRecursively that specifies further actions when an exception occurs.

Common
JVM
JS
Native
1.9
kotlin.ranges.OpenEndRange

Represents a range of values (for example, numbers or characters) where the upper bound is not included in the range. See the Kotlin language documentation for more information.

Common
JVM
JS
Native
1.3
kotlin.OptIn

Allows to use the API denoted by the given markers in the annotated file, declaration, or expression. If a declaration is annotated with OptIn, its usages are not required to opt in to that API.

JS
1.1
org.w3c.dom.Option

Exposes the JavaScript Option to Kotlin

JVM
JRE8
1.8
(extensions in package kotlin.jvm.optionals)
java.util.Optional
Common
JVM
JS
Native
1.0
kotlin.OptionalExpectation

Marks an expected annotation class that it isn't required to have actual counterparts in all platforms.

Native
1.3
kotlin.native.OsFamily

Operating system family.

JVM
1.0
(extensions in package kotlin.io)
java.io.OutputStream
JVM
1.8
(extensions in package kotlin.io.encoding)
java.io.OutputStream
Common
JVM
JS
Native
1.4
kotlin.OverloadResolutionByLambdaReturnType

Enables overload selection based on the type of the value returned from lambda argument.

JS
1.1
org.w3c.dom.PageTransitionEvent

Exposes the JavaScript PageTransitionEvent to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Pair

Represents a generic pair of two values.

Common
JVM
JS
Native
1.1
kotlin.ParameterName

Annotates type arguments of functional type and holds corresponding parameter name specified by the user in type declaration (if any).

JS
1.1
org.w3c.dom.ParentNode

Exposes the JavaScript ParentNode to Kotlin

JVM
JRE7
1.4
(extensions in package kotlin.io.path)
java.nio.file.Path
JS
1.1
org.w3c.dom.Path2D

Exposes the JavaScript Path2D to Kotlin

JVM
JRE7
1.0
kotlin.io.path.PathWalkOption

An enumeration to provide walk options for Path.walk function. The options can be combined to form the walk order and behavior needed.

JVM
1.0
(extensions in package kotlin.text)
java.util.regex.Pattern
JS
1.1
org.w3c.performance.Performance

Exposes the JavaScript Performance to Kotlin

JS
1.1
org.w3c.performance.PerformanceNavigation

Exposes the JavaScript PerformanceNavigation to Kotlin

JS
1.1
org.w3c.performance.PerformanceTiming

Exposes the JavaScript PerformanceTiming to Kotlin

Native
1.3
kotlin.native.Platform

Object describing the current platform program executes upon.

JS
1.1
org.w3c.dom.Plugin

Exposes the JavaScript Plugin to Kotlin

JS
1.1
org.w3c.dom.PluginArray

Exposes the JavaScript PluginArray to Kotlin

JS
1.1
org.w3c.dom.pointerevents.PointerEvent

Exposes the JavaScript PointerEvent to Kotlin

JS
1.1
org.w3c.dom.PopStateEvent

Exposes the JavaScript PopStateEvent to Kotlin

JS
1.1
org.w3c.dom.ProcessingInstruction

Exposes the JavaScript ProcessingInstruction to Kotlin

JS
1.1
org.w3c.xhr.ProgressEvent

Exposes the JavaScript ProgressEvent to Kotlin

JS
1.1
kotlin.js.Promise

Exposes the JavaScript Promise object to Kotlin.

JS
1.1
org.w3c.dom.PromiseRejectionEvent

Exposes the JavaScript PromiseRejectionEvent to Kotlin

Common
JVM
JS
Native
1.4
kotlin.properties.PropertyDelegateProvider

Base interface that can be used for implementing property delegate providers.

Common
JVM
JS
Native
1.1
kotlin.PublishedApi

When applied to a class or a member with internal visibility allows to use it from public inline functions and makes it effectively public.

JVM
1.0
kotlin.jvm.PurelyImplements

Instructs the Kotlin compiler to treat annotated Java class as pure implementation of given Kotlin interface. "Pure" means here that each type parameter of class becomes non-platform type argument of that interface.

JS
1.1
org.w3c.dom.RadioNodeList

Exposes the JavaScript RadioNodeList to Kotlin

Common
JVM
JS
Native
1.3
kotlin.random.Random

An abstract class that is implemented by random number generator algorithms.

JVM
1.3
(extensions in package kotlin.random)
java.util.Random
Common
JVM
JS
Native
1.0
kotlin.collections.RandomAccess

Marker interface indicating that the List implementation supports fast indexed access.

JS
1.1
org.w3c.dom.Range

Exposes the JavaScript Range to Kotlin

JVM
1.0
(extensions in package kotlin.io)
java.io.Reader
Common
JVM
JS
Native
1.0
kotlin.properties.ReadOnlyProperty

Base interface that can be used for implementing property delegates of read-only properties.

Common
JVM
JS
Native
1.0
kotlin.properties.ReadWriteProperty

Base interface that can be used for implementing property delegates of read-write properties.

JVM
1.0
(extensions in package kotlin.concurrent)
java.util.concurrent.locks.ReentrantReadWriteLock
Common
Native
1.8
kotlin.native.RefinesInSwift

Meta-annotation that instructs the Kotlin compiler to mark the annotated function or property as swift_private in the generated Objective-C API.

Common
JVM
JS
Native
1.0
kotlin.text.Regex

Represents a compiled regular expression. Provides functions to match strings in text with a pattern, replace the found occurrences and split text around matches.

Common
JVM
JS
Native
1.0
kotlin.text.RegexOption

Provides enumeration values to use to set regular expression options.

JS
1.1
kotlin.js.RegExp

Exposes the JavaScript RegExp object to Kotlin.

JS
1.1
kotlin.js.RegExpMatch

Represents the return value of RegExp.exec.

Common
JVM
JS
Native
1.0
kotlin.annotation.Repeatable

This meta-annotation determines that an annotation is applicable twice or more on a single code element

Common
JVM
JS
Native
1.0
kotlin.ReplaceWith

Specifies a code fragment that can be used to replace a deprecated function, property or class. Tools such as IDEs can automatically apply the replacements specified through this annotation.

Native
1.3
kotlin.native.ReportUnhandledExceptionHook

Typealias describing custom exception reporting hook.

JS
1.1
org.w3c.fetch.Request

Exposes the JavaScript Request to Kotlin

Common
JVM
JS
Native
1.3
kotlin.RequiresOptIn

Signals that the annotated annotation class is a marker of an API that requires an explicit opt-in.

JS
1.1
org.w3c.fetch.Response

Exposes the JavaScript Response to Kotlin

Common
JVM
JS
Native
1.3
kotlin.coroutines.RestrictsSuspension

Classes and interfaces marked with this annotation are restricted when used as receivers for extension suspend functions. These suspend extensions can only invoke other member or extension suspend functions on this particular receiver and are restricted from calling arbitrary suspension functions.

Common
JVM
JS
Native
1.3
kotlin.Result

A discriminated union that encapsulates a successful outcome with a value of type T or a failure with an arbitrary Throwable exception.

Common
JVM
JS
Native
1.0
kotlin.annotation.Retention

This meta-annotation determines whether an annotation is stored in binary output and visible for reflection. By default, both are true.

Common
JVM
JS
Native
1.3
kotlin.contracts.Returns

Describes a situation when a function returns normally with a given return value.

Common
JVM
JS
Native
1.3
kotlin.contracts.ReturnsNotNull

Describes a situation when a function returns normally with any non-null return value.

Native
1.9
kotlin.native.runtime.RootSetStatistics

This class represents statistics of the root set for garbage collector run, separated by root set pools. These nodes are assumed to be used, even if there are no references for them.

Common
JVM
JS
Native
1.0
kotlin.RuntimeException
JS
1.1
org.w3c.dom.Screen

Exposes the JavaScript Screen to Kotlin

JS
1.1
org.w3c.dom.ScrollToOptions

Exposes the JavaScript ScrollToOptions to Kotlin

Common
JVM
JS
Native
1.0
kotlin.sequences.Sequence

A sequence that returns values through its iterator. The values are evaluated lazily, and the sequence is potentially infinite.

JVM
JRE8
1.2
(extensions in package kotlin.streams)
kotlin.sequences.Sequence
Common
JVM
JS
Native
1.3
kotlin.sequences.SequenceScope

The scope for yielding values of a Sequence or an Iterator, provides yield and yieldAll suspension functions.

JS
1.1
org.w3c.workers.ServiceWorker

Exposes the JavaScript ServiceWorker to Kotlin

JS
1.1
org.w3c.workers.ServiceWorkerContainer

Exposes the JavaScript ServiceWorkerContainer to Kotlin

JS
1.1
org.w3c.workers.ServiceWorkerGlobalScope

Exposes the JavaScript ServiceWorkerGlobalScope to Kotlin

Common
JVM
JS
Native
1.0
kotlin.collections.Set

A generic unordered collection of elements that does not support duplicate elements. Methods in this interface support only read-only access to the set; read/write access is supported through the MutableSet interface.

JS
1.1
org.w3c.dom.ShadowRoot

Exposes the JavaScript ShadowRoot to Kotlin

Common
Native
1.0
kotlin.native.concurrent.SharedImmutable

Note: this annotation has effect only in Kotlin/Native with legacy memory manager.

JS
1.1
org.w3c.dom.SharedWorker

Exposes the JavaScript SharedWorker to Kotlin

JS
1.1
org.w3c.dom.SharedWorkerGlobalScope

Exposes the JavaScript SharedWorkerGlobalScope to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Short

Represents a 16-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type short.

Common
JVM
JS
Native
1.0
kotlin.ShortArray

An array of shorts. When targeting the JVM, instances of this class are represented as short[].

Common
JVM
JS
Native
1.0
kotlin.collections.ShortIterator

An iterator over a sequence of values of type Short.

Common
Native
1.8
kotlin.native.ShouldRefineInSwift

Instructs the Kotlin compiler to mark this function or property as swift_private in the generated Objective-C API.

Common
JVM
JS
Native
1.3
kotlin.contracts.SimpleEffect

An effect that can be observed after a function invocation.

Common
JVM
JS
Native
1.0
kotlin.SinceKotlin

Specifies the first version of Kotlin where a declaration has appeared. Using the declaration and specifying an older API version (via the -api-version command line option) will result in an error.

JS
1.1
org.w3c.dom.Slotable

Exposes the JavaScript Slotable to Kotlin

JS
1.1
org.w3c.dom.mediasource.SourceBuffer

Exposes the JavaScript SourceBuffer to Kotlin

JS
1.1
org.w3c.dom.mediasource.SourceBufferList

Exposes the JavaScript SourceBufferList to Kotlin

JS
1.1
org.w3c.dom.Storage

Exposes the JavaScript Storage to Kotlin

JS
1.1
org.w3c.dom.StorageEvent

Exposes the JavaScript StorageEvent to Kotlin

JVM
JRE8
1.2
(extensions in package kotlin.streams)
java.util.stream.Stream
Common
JVM
1.0
kotlin.jvm.Strictfp

Marks the JVM method generated from the annotated function as strictfp, meaning that the precision of floating point operations performed inside the method needs to be restricted in order to achieve better portability.

Common
JVM
JS
Native
1.0
kotlin.String

The String class represents character strings. All string literals in Kotlin programs, such as "abc", are implemented as instances of this class.

Common
JVM
JS
Native
1.0
kotlin.text.StringBuilder

A mutable sequence of characters.

JVM
1.0
(extensions in package kotlin.text)
java.lang.StringBuilder
JS
1.1
org.w3c.dom.css.StyleSheet

Exposes the JavaScript StyleSheet to Kotlin

JS
1.1
org.w3c.dom.css.StyleSheetList

Exposes the JavaScript StyleSheetList to Kotlin

Common
JVM
JS
Native
1.8
kotlin.SubclassOptInRequired

Annotation that marks open for subclassing classes and interfaces, and makes implementation and extension of such declarations as requiring an explicit opt-in.

Common
JVM
JS
Native
1.0
kotlin.Suppress

Suppresses the given compilation warnings in the annotated element.

Native
1.3
kotlin.coroutines.SuspendFunction

Represents a value of a functional type, such as a lambda, an anonymous function or a function reference.

JS
1.1
org.w3c.dom.svg.SVGAElement

Exposes the JavaScript SVGAElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAngle

Exposes the JavaScript SVGAngle to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedAngle

Exposes the JavaScript SVGAnimatedAngle to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedBoolean

Exposes the JavaScript SVGAnimatedBoolean to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedEnumeration

Exposes the JavaScript SVGAnimatedEnumeration to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedInteger

Exposes the JavaScript SVGAnimatedInteger to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedLength

Exposes the JavaScript SVGAnimatedLength to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedLengthList

Exposes the JavaScript SVGAnimatedLengthList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedNumber

Exposes the JavaScript SVGAnimatedNumber to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedNumberList

Exposes the JavaScript SVGAnimatedNumberList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedPoints

Exposes the JavaScript SVGAnimatedPoints to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedRect

Exposes the JavaScript SVGAnimatedRect to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedString

Exposes the JavaScript SVGAnimatedString to Kotlin

JS
1.1
org.w3c.dom.svg.SVGAnimatedTransformList

Exposes the JavaScript SVGAnimatedTransformList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGCircleElement

Exposes the JavaScript SVGCircleElement to Kotlin

JS
1.1
org.w3c.css.masking.SVGClipPathElement

Exposes the JavaScript SVGClipPathElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGCursorElement

Exposes the JavaScript SVGCursorElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGDefsElement

Exposes the JavaScript SVGDefsElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGDescElement

Exposes the JavaScript SVGDescElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGElement

Exposes the JavaScript SVGElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGEllipseElement

Exposes the JavaScript SVGEllipseElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGForeignObjectElement

Exposes the JavaScript SVGForeignObjectElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGGElement

Exposes the JavaScript SVGGElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGGeometryElement

Exposes the JavaScript SVGGeometryElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGGradientElement

Exposes the JavaScript SVGGradientElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGGraphicsElement

Exposes the JavaScript SVGGraphicsElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGImageElement

Exposes the JavaScript SVGImageElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGLength

Exposes the JavaScript SVGLength to Kotlin

JS
1.1
org.w3c.dom.svg.SVGLengthList

Exposes the JavaScript SVGLengthList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGLinearGradientElement

Exposes the JavaScript SVGLinearGradientElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGLineElement

Exposes the JavaScript SVGLineElement to Kotlin

JS
1.1
org.w3c.css.masking.SVGMaskElement

Exposes the JavaScript SVGMaskElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGMeshElement

Exposes the JavaScript SVGMeshElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGMetadataElement

Exposes the JavaScript SVGMetadataElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGNumber

Exposes the JavaScript SVGNumber to Kotlin

JS
1.1
org.w3c.dom.svg.SVGNumberList

Exposes the JavaScript SVGNumberList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGPathElement

Exposes the JavaScript SVGPathElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGPatternElement

Exposes the JavaScript SVGPatternElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGPolygonElement

Exposes the JavaScript SVGPolygonElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGPolylineElement

Exposes the JavaScript SVGPolylineElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGPreserveAspectRatio

Exposes the JavaScript SVGPreserveAspectRatio to Kotlin

JS
1.1
org.w3c.dom.svg.SVGRadialGradientElement

Exposes the JavaScript SVGRadialGradientElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGRectElement

Exposes the JavaScript SVGRectElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGScriptElement

Exposes the JavaScript SVGScriptElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGSolidcolorElement

Exposes the JavaScript SVGSolidcolorElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGStopElement

Exposes the JavaScript SVGStopElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGStringList

Exposes the JavaScript SVGStringList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGStyleElement

Exposes the JavaScript SVGStyleElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGSVGElement

Exposes the JavaScript SVGSVGElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGSwitchElement

Exposes the JavaScript SVGSwitchElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGSymbolElement

Exposes the JavaScript SVGSymbolElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTests

Exposes the JavaScript SVGTests to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTextContentElement

Exposes the JavaScript SVGTextContentElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTextElement

Exposes the JavaScript SVGTextElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTextPathElement

Exposes the JavaScript SVGTextPathElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTitleElement

Exposes the JavaScript SVGTitleElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTransform

Exposes the JavaScript SVGTransform to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTransformList

Exposes the JavaScript SVGTransformList to Kotlin

JS
1.1
org.w3c.dom.svg.SVGTSpanElement

Exposes the JavaScript SVGTSpanElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGUnitTypes

Exposes the JavaScript SVGUnitTypes to Kotlin

JS
1.1
org.w3c.dom.svg.SVGURIReference

Exposes the JavaScript SVGURIReference to Kotlin

JS
1.1
org.w3c.dom.svg.SVGUseElement

Exposes the JavaScript SVGUseElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGViewElement

Exposes the JavaScript SVGViewElement to Kotlin

JS
1.1
org.w3c.dom.svg.SVGZoomAndPan

Exposes the JavaScript SVGZoomAndPan to Kotlin

Native
1.9
kotlin.native.runtime.SweepStatistics

This class represents statistics of sweeping in one memory pool.

Native
1.3
kotlin.native.SymbolName

This is a dangerous deprecated and internal annotation. Please avoid using it.

Common
JVM
JS
1.0
kotlin.jvm.Synchronized

Marks the JVM method generated from the annotated function as synchronized, meaning that the method will be protected from concurrent execution by multiple threads by the monitor of the instance (or, for static methods, the class) on which the method is defined.

Common
JVM
JS
Native
1.0
kotlin.annotation.Target

This meta-annotation indicates the kinds of code elements which are possible targets of an annotation.

Common
JVM
JS
Native
1.9
kotlin.time.TestTimeSource

A time source that has programmatically updatable readings. It is useful as a predictable source of time in tests.

JS
1.1
org.w3c.dom.Text

Exposes the JavaScript Text to Kotlin

JS
1.1
org.w3c.dom.TextMetrics

Exposes the JavaScript TextMetrics to Kotlin

JS
1.1
org.w3c.dom.TextTrack

Exposes the JavaScript TextTrack to Kotlin

JS
1.1
org.w3c.dom.TextTrackCue

Exposes the JavaScript TextTrackCue to Kotlin

Common
Native
1.0
kotlin.native.concurrent.ThreadLocal

Marks a top level property with a backing field or an object as thread local. The object remains mutable and it is possible to change its state, but every thread will have a distinct copy of this object, so changes in one thread are not reflected in another.

JVM
1.0
(extensions in package kotlin.concurrent)
java.lang.ThreadLocal
Common
JVM
JS
Native
1.0
kotlin.Throwable

The base class for all errors and exceptions. Only instances of this class can be thrown or caught.

Common
JVM
Native
1.4
kotlin.Throws

This annotation indicates what exceptions should be declared by a function when compiled to a platform method in Kotlin/JVM and Kotlin/Native.

JVM
1.0
kotlin.jvm.Throws

This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.

Common
JVM
JS
Native
1.9
kotlin.time.TimedValue

Data class representing a result of executing an action, along with the duration of elapsed time interval.

Common
JVM
JS
Native
1.9
kotlin.time.TimeMark

Represents a time point notched on a particular TimeSource. Remains bound to the time source it was taken from and allows querying for the duration of time elapsed from that point (see the function elapsedNow).

JVM
1.0
(extensions in package kotlin.concurrent)
java.util.Timer
JS
1.1
org.w3c.dom.TimeRanges

Exposes the JavaScript TimeRanges to Kotlin

Common
JVM
JS
Native
1.9
kotlin.time.TimeSource

A source of time for measuring time intervals.

JVM
1.8
(extensions in package kotlin.time)
java.util.concurrent.TimeUnit
JS
1.1
org.w3c.dom.Touch

Exposes the JavaScript Touch to Kotlin

JS
1.1
org.w3c.dom.TrackEvent

Exposes the JavaScript TrackEvent to Kotlin

Native
1.3
kotlin.native.concurrent.TransferMode

Note: modern Kotlin/Native memory manager allows to share objects between threads without additional ceremonies, so TransferMode has effect only in legacy memory manager.

Common
JVM
1.0
kotlin.jvm.Transient

Marks the JVM backing field of the annotated property as transient, meaning that it is not part of the default serialized form of the object.

JS
1.1
org.w3c.dom.TreeWalker

Exposes the JavaScript TreeWalker to Kotlin

Common
JVM
JS
Native
1.0
kotlin.Triple

Represents a triad of values

Common
JVM
JS
Native
1.0
kotlin.text.Typography

Defines names for Unicode symbols used in proper Typography.

Common
JVM
JS
Native
1.5
kotlin.UByte
Common
JVM
JS
Native
1.3
kotlin.UByteArray
JS
1.1
org.w3c.dom.events.UIEvent

Exposes the JavaScript UIEvent to Kotlin

Common
JVM
JS
Native
1.5
kotlin.UInt
JS
1.1
org.khronos.webgl.Uint16Array

Exposes the JavaScript Uint16Array to Kotlin

JS
1.1
org.khronos.webgl.Uint32Array

Exposes the JavaScript Uint32Array to Kotlin

JS
1.1
org.khronos.webgl.Uint8Array

Exposes the JavaScript Uint8Array to Kotlin

JS
1.1
org.khronos.webgl.Uint8ClampedArray

Exposes the JavaScript Uint8ClampedArray to Kotlin

Common
JVM
JS
Native
1.3
kotlin.UIntArray
Common
JVM
JS
Native
1.5
kotlin.ranges.UIntProgression

A progression of values of type UInt.

Common
JVM
JS
Native
1.5
kotlin.ranges.UIntRange

A range of values of type UInt.

Common
JVM
JS
Native
1.5
kotlin.ULong
Common
JVM
JS
Native
1.3
kotlin.ULongArray
Common
JVM
JS
Native
1.5
kotlin.ranges.ULongProgression

A progression of values of type ULong.

Common
JVM
JS
Native
1.5
kotlin.ranges.ULongRange

A range of values of type ULong.

Common
JVM
JS
Native
1.0
kotlin.Unit

The type with only one value: the Unit object. This type corresponds to the void type in Java.

Native
1.3
kotlinx.cinterop.UnsafeNumber

Marker for declarations that depend on numeric types of different bit width on at least two platforms.

Common
JVM
JS
Native
1.0
kotlin.UnsafeVariance

Suppresses errors about variance conflict

Common
JVM
JS
Native
1.0
kotlin.UnsupportedOperationException
JVM
JRE7
1.5
(extensions in package kotlin.io.path)
java.net.URI
JVM
1.0
(extensions in package kotlin.io)
java.net.URL
JS
1.1
org.w3c.dom.url.URL

Exposes the JavaScript URL to Kotlin

JS
1.1
org.w3c.dom.url.URLSearchParams

Exposes the JavaScript URLSearchParams to Kotlin

Common
JVM
JS
Native
1.5
kotlin.UShort
Common
JVM
JS
Native
1.3
kotlin.UShortArray
JS
1.1
org.w3c.dom.ValidityState

Exposes the JavaScript ValidityState to Kotlin

JS
1.1
org.w3c.dom.VideoTrack

Exposes the JavaScript VideoTrack to Kotlin

JS
1.1
org.w3c.dom.VideoTrackList

Exposes the JavaScript VideoTrackList to Kotlin

Common
JVM
JS
1.0
kotlin.jvm.Volatile

Marks the JVM backing field of the annotated var property as volatile, meaning that reads and writes to this field are atomic and writes are always made visible to other threads. If another thread reads the value of this field (e.g. through its accessor), it sees not only that value, but all side effects that led to writing that value.

Common
JVM
Native
1.9
kotlin.concurrent.Volatile

Marks the backing field of the annotated var property as volatile, meaning that reads and writes to this field are atomic and writes are always made visible to other threads. If another thread reads the value of this field (e.g. through its accessor), it sees not only that value, but all side effects that led to writing that value.

Native
1.3
kotlin.native.ref.WeakReference

Class WeakReference encapsulates weak reference to an object, which could be used to either retrieve a strong reference to an object, or return null, if object was already destroyed by the memory manager.

JS
1.1
org.khronos.webgl.WebGLActiveInfo

Exposes the JavaScript WebGLActiveInfo to Kotlin

JS
1.1
org.khronos.webgl.WebGLBuffer

Exposes the JavaScript WebGLBuffer to Kotlin

JS
1.1
org.khronos.webgl.WebGLContextEvent

Exposes the JavaScript WebGLContextEvent to Kotlin

JS
1.1
org.khronos.webgl.WebGLFramebuffer

Exposes the JavaScript WebGLFramebuffer to Kotlin

JS
1.1
org.khronos.webgl.WebGLProgram

Exposes the JavaScript WebGLProgram to Kotlin

JS
1.1
org.khronos.webgl.WebGLRenderbuffer

Exposes the JavaScript WebGLRenderbuffer to Kotlin

JS
1.1
org.khronos.webgl.WebGLRenderingContext

Exposes the JavaScript WebGLRenderingContext to Kotlin

JS
1.1
org.khronos.webgl.WebGLShader

Exposes the JavaScript WebGLShader to Kotlin

JS
1.1
org.khronos.webgl.WebGLTexture

Exposes the JavaScript WebGLTexture to Kotlin

JS
1.1
org.khronos.webgl.WebGLUniformLocation

Exposes the JavaScript WebGLUniformLocation to Kotlin

JS
1.1
org.w3c.dom.WebSocket

Exposes the JavaScript WebSocket to Kotlin

JS
1.1
org.w3c.dom.events.WheelEvent

Exposes the JavaScript WheelEvent to Kotlin

JS
1.1
org.w3c.dom.Window

Exposes the JavaScript Window to Kotlin

JS
1.1
org.w3c.workers.WindowClient

Exposes the JavaScript WindowClient to Kotlin

JS
1.1
org.w3c.dom.WindowEventHandlers

Exposes the JavaScript WindowEventHandlers to Kotlin

JS
1.1
org.w3c.dom.WindowLocalStorage

Exposes the JavaScript WindowLocalStorage to Kotlin

JS
1.1
org.w3c.dom.WindowOrWorkerGlobalScope

Exposes the JavaScript WindowOrWorkerGlobalScope to Kotlin

JS
1.1
org.w3c.dom.WindowSessionStorage

Exposes the JavaScript WindowSessionStorage to Kotlin

JS
1.1
org.w3c.dom.Worker

Exposes the JavaScript Worker to Kotlin

Native
1.3
kotlin.native.concurrent.WorkerBoundReference

A shared reference to a Kotlin object that doesn't freeze the referred object when it gets frozen itself.

JS
1.1
org.w3c.dom.WorkerGlobalScope

Exposes the JavaScript WorkerGlobalScope to Kotlin

JS
1.1
org.w3c.dom.WorkerLocation

Exposes the JavaScript WorkerLocation to Kotlin

JS
1.1
org.w3c.dom.WorkerNavigator

Exposes the JavaScript WorkerNavigator to Kotlin

JVM
1.0
(extensions in package kotlin.io)
java.io.Writer
JS
1.1
org.w3c.dom.XMLDocument

Exposes the JavaScript XMLDocument to Kotlin

JS
1.1
org.w3c.xhr.XMLHttpRequest

Exposes the JavaScript XMLHttpRequest to Kotlin

JS
1.1
org.w3c.xhr.XMLHttpRequestEventTarget

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

JS
1.1
org.w3c.dom.parsing.XMLSerializer

Exposes the JavaScript XMLSerializer to Kotlin