The Apache 2 license (given in full in [LICENSE.txt](LICENSE.txt)) applies to all code in this repository which is copyright
by JetBrains. The following sections of the repository contain third-party code, to which different licenses
may apply:
## Kotlin Compiler
The following modules contain third-party code and are incorporated into the Kotlin compiler and/or
the Kotlin IntelliJ IDEA plugin:
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxStackFrameSizeAndLocalsCalculator.java
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxLocalsCalculator.java
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/FastMethodAnalyzer.kt
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/InstructionLivenessAnalyzer.kt
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/ControlFlowGraph.kt
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/fixStack/FastStackAnalyzer.kt
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/temporaryVals/FastStoreLoadAnalyzer.kt
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: eval4j/src/org/jetbrains/eval4j/interpreterLoop.kt
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/OptimizationBasicInterpreter.java
- License: BSD ([license/third_party/asm_license.txt][asm])
- Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
- Path: js/js.ast
- License: BSD ([license/third_party/dart_LICENSE.txt][dart])
- Origin: Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,
- Path: js/js.inliner/src/org/jetbrains/kotlin/js/inline/FunctionInlineMutator.kt
- License: BSD ([license/third_party/dart_LICENSE.txt][dart])
- Origin: Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,
- Path: js/js.parser/src/com/google
- License: Netscape Public License 1.1 ([license/third_party/rhino_LICENSE.txt][rhino])
- Origin: Originally part of GWT, (C) 2007-08 Google Inc., distributed under the Apache 2 license. The code
is derived from Rhino, (C) 1997-1999 Netscape Communications Corporation, distributed under the
Netscape Public License.
- Path: js/js.translator/qunit/qunit.js
- License: MIT ([license/third_party/qunit_license.txt][qunit])
- Origin: QUnit, Copyright (c) 2012 John Resig, Jörn Zaefferer,
- Path: libraries/stdlib/src/kotlin/collections
- License: Apache 2 ([license/third_party/gwt_license.txt][gwt])
- Origin: Derived from GWT, (C) 2007-08 Google Inc.
- Path: libraries/stdlib/js/src/kotlin/UnsignedJs.kt
- License: Apache 2 ([license/third_party/guava_license.txt][guava])
- Origin: Derived from Guava's UnsignedLongs, (C) 2011 The Guava Authors
- Path: libraries/stdlib/jvm/src/kotlin/util/UnsignedJVM.kt
- License: Apache 2 ([license/third_party/guava_license.txt][guava])
- Origin: Derived from Guava's UnsignedLongs, (C) 2011 The Guava Authors
- Path: kotlin-native/runtime/src/main/kotlin/kotlin/Unsigned.kt
- License: Apache 2 ([license/third_party/guava_license.txt][guava])
- Origin: Derived from Guava's UnsignedLongs, (C) 2011 The Guava Authors
- Path: libraries/stdlib/jvm/src/kotlin/util/MathJVM.kt
- License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])
- Origin: Derived from boost special math functions, Copyright Eric Ford & Hubert Holin 2001.
- Path: libraries/stdlib/js/src/kotlin/collections
- License: Apache 2 ([license/third_party/gwt_license.txt][gwt])
- Origin: Derived from GWT, (C) 2007-08 Google Inc.
- Path: libraries/stdlib/native-wasm/src/kotlin/collections
- License: Apache 2 ([license/third_party/gwt_license.txt][gwt])
- Origin: Derived from GWT, (C) 2007-08 Google Inc.
- Path: libraries/stdlib/js/runtime/longJs.kt
- License: Apache 2 ([license/third_party/closure-compiler_LICENSE.txt][closure-compiler])
- Origin: Google Closure Library, Copyright 2009 The Closure Library Authors
- Path: libraries/stdlib/js/src/kotlin/js/math.polyfills.kt
- License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])
- Origin: Derived from boost special math functions, Copyright Eric Ford & Hubert Holin 2001.
- Path: libraries/stdlib/wasm/internal/kotlin/wasm/internal/Number2String.kt
- License: Apache 2 ([license/third_party/assemblyscript_license.txt][assemblyscript])
- Origin: Derived from assemblyscript standard library
- Path: libraries/tools/kotlin-power-assert
- License: Apache 2 ([license/third_party/power_assert_license.txt][power-assert])
- Origin: Copyright (C) 2020-2023 Brian Norman
- Path: plugins/compose
- License: Apache 2 ([license/third_party/compose_license.txt][compose])
- Origin: Copyright 2019-2024 The Android Open Source Project
- Path: plugins/lint/android-annotations
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: plugins/lint/lint-api
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: plugins/lint/lint-checks
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: plugins/lint/lint-idea
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: plugins/power-assert
- License: Apache 2 ([license/third_party/power_assert_license.txt][power-assert])
- Origin: Copyright (C) 2020-2023 Brian Norman
- Path: wasm/ir/src/org/jetbrains/kotlin/wasm/ir/convertors
- License: MIT ([license/third_party/asmble_license.txt][asmble])
- Origin: Copyright (C) 2018 Chad Retz
- Path: compiler/tests-common/tests/org/jetbrains/kotlin/codegen/ir/ComposeLikeGenerationExtension.kt
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Derived from JetPack Compose compiler plugin code, Copyright 2019 The Android Open Source Pr