The Apache 2 license (given in full in [LICENSE.txt](LICENSE.txt)) applies to all code in this repository which is copyright&#xA;by JetBrains. The following sections of the repository contain third-party code, to which different licenses&#xA;may apply:&#xA;&#xA;## Kotlin Compiler&#xA;&#xA;The following modules contain third-party code and are incorporated into the Kotlin compiler and/or&#xA;the Kotlin IntelliJ IDEA plugin:&#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxStackFrameSizeAndLocalsCalculator.java&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;   &#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxLocalsCalculator.java&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/FastMethodAnalyzer.kt&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/InstructionLivenessAnalyzer.kt&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom &#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/ControlFlowGraph.kt&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/fixStack/FastStackAnalyzer.kt&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/temporaryVals/FastStoreLoadAnalyzer.kt&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: core/reflection.jvm/src/kotlin.reflect/jvm/internal/pcollections&#xA;     - License: MIT ([license/third_party/pcollections_LICENSE.txt][pcollections])&#xA;     - Origin: Derived from PCollections, A Persistent Java Collections Library (https://pcollections.org/)&#xA;&#xA; - Path: eval4j/src/org/jetbrains/eval4j/interpreterLoop.kt&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/OptimizationBasicInterpreter.java&#xA;     - License: BSD ([license/third_party/asm_license.txt][asm])&#xA;     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom&#xA;&#xA; - Path: js/js.ast&#xA;     - License: BSD ([license/third_party/dart_LICENSE.txt][dart])&#xA;     - Origin: Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,&#xA;&#xA; - Path: js/js.inliner/src/org/jetbrains/kotlin/js/inline/FunctionInlineMutator.kt&#xA;     - License: BSD ([license/third_party/dart_LICENSE.txt][dart])&#xA;     - Origin: Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,&#xA;&#xA; - Path: js/js.parser/src/com/google&#xA;      - License: Netscape Public License 1.1 ([license/third_party/rhino_LICENSE.txt][rhino])&#xA;      - Origin: Originally part of GWT, (C) 2007-08 Google Inc., distributed under the Apache 2 license. The code&#xA;        is derived from Rhino, (C) 1997-1999 Netscape Communications Corporation, distributed under the&#xA;        Netscape Public License.&#xA;&#xA; - Path: js/js.translator/qunit/qunit.js&#xA;      - License: MIT ([license/third_party/qunit_license.txt][qunit])&#xA;      - Origin: QUnit, Copyright (c) 2012 John Resig, JÃ¶rn Zaefferer,&#xA;&#xA; - Path: libraries/stdlib/src/kotlin/collections&#xA;      - License: Apache 2 ([license/third_party/gwt_license.txt][gwt])&#xA;      - Origin: Derived from GWT, (C) 2007-08 Google Inc.&#xA;&#xA; - Path: libraries/stdlib/unsigned/src/kotlin/UnsignedUtils.kt&#xA;      - License: Apache 2 ([license/third_party/guava_license.txt][guava])&#xA;      - Origin: Derived from Guava&#39;s UnsignedLongs, (C) 2011 The Guava Authors&#xA;&#xA; - Path: libraries/stdlib/jvm/src/kotlin/util/MathJVM.kt&#xA;      - License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])&#xA;      - Origin: Derived from boost special math functions, Copyright Eric Ford &amp; Hubert Holin 2001.&#xA;&#xA; - Path: libraries/stdlib/js/src/kotlin/collections&#xA;      - License: Apache 2 ([license/third_party/gwt_license.txt][gwt])&#xA;      - Origin: Derived from GWT, (C) 2007-08 Google Inc.&#xA;&#xA; - Path: libraries/stdlib/native-wasm/src/kotlin/collections&#xA;      - License: Apache 2 ([license/third_party/gwt_license.txt][gwt])&#xA;      - Origin: Derived from GWT, (C) 2007-08 Google Inc.&#xA;&#xA; - Path: libraries/stdlib/js-v1/src/js/long.js&#xA;      - License: Apache 2 ([license/third_party/closure-compiler_LICENSE.txt][closure-compiler])&#xA;      - Origin: Google Closure Library, Copyright 2009 The Closure Library Authors&#xA;&#xA; - Path: libraries/stdlib/js-v1/src/js/polyfills.js&#xA;      - License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])&#xA;      - Origin: Derived from boost special math functions, Copyright Eric Ford &amp; Hubert Holin 2001.&#xA;&#xA; - Path: libraries/stdlib/js/src/kotlin/js/math.polyfills.kt&#xA;      - License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])&#xA;      - Origin: Derived from boost special math functions, Copyright Eric Ford &amp; Hubert Holin 2001.&#xA;&#xA; - Path: libraries/stdlib/wasm/internal/kotlin/wasm/internal/Number2String.kt&#xA;      - License: Apache 2 ([third_party/assemblyscript_license.txt][assemblyscript])&#xA;      - Origin: Derived from assemblyscript standard library&#xA;&#xA; - Path: plugins/lint/android-annotations&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: plugins/lint/lint-api&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: plugins/lint/lint-checks&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: plugins/lint/lint-idea&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;          &#xA; - Path: wasm/ir/src/org/jetbrains/kotlin/wasm/ir/convertors&#xA;      - License: MIT ([license/third_party/asmble_license.txt][asmble])&#xA;      - Origin: Copyright (C) 2018 Chad Retz&#xA;&#xA; - Path: compiler/tests-common/tests/org/jetbrains/kotlin/codegen/ir/ComposeLikeGenerationExtension.kt&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Derived from JetPack Compose compiler plugin code, Copyright 2019 The Android Open Source Project&#xA;&#xA; - Path: libraries/stdlib/wasm/src/kotlin/text/FloatingPointConverter.kt&#xA;   - License: MIT ([license/third_party/asmble_license.txt][asmble])&#xA;   - Origin: Copyright (C) 2018 Chad Retz&#xA;&#xA; - Path: libraries/stdlib/wasm/src/kotlin/math/fdlibm/&#xA;   - License: SUN ([license/third_party/sun_license.txt][sun])&#xA;   - Origin: Copyright (C) 1993 by Sun Microsystems, Inc.&#xA;&#xA; - Path: kotlin-native/runtime/src/main/cpp/Utils.cpp&#xA;   - License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])&#xA;   - Origin: Derived from boost hash functions, Copyright 2005-2014 Daniel James&#xA;&#xA;## Kotlin Test Data&#xA;&#xA;The following source code is used for testing the Kotlin compiler and/or plugin and is not incorporated into&#xA;any distributions of the compiler, libraries or plugin:&#xA;&#xA; - Path: third-party/annotations/android&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: third-party/annotations/com/android&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: third-party/annotations/org/eclipse&#xA;      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])&#xA;      - Origin: Eclipse JDT, Copyright (c) 2011, 2013 Stephan Herrmann and others.&#xA;&#xA; - Path: third-party/annotations/androidx&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: third-party/annotations/edu/umd/cs/findbugs&#xA;      - License: LGPL 2.1 ([license/third_party/testdata/findbugs_license.txt][findbugs])&#xA;      - Origin: Bytecode Analysis Framework, Copyright (C) 2005 University of Maryland&#xA;&#xA; - Path: third-party/java8-annotations/org/eclipse&#xA;      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])&#xA;      - Origin: Eclipse JDT, Copyright (c) 2011, 2013 Stephan Herrmann and others.&#xA;&#xA; - Path: third-party/annotations/io/reactivex&#xA;      - License: Apache 2 ([license/third_party/testdata/rxjava_license.txt][rxjava])&#xA;      - Origin: RxJava, Copyright (c) 2016-present, RxJava Contributors&#xA;&#xA; - Path: third-party/java8-annotations/org/jspecify&#xA;      - License: Apache 2 ([license/third_party/testdata/jspecify_license.txt][jspecify])&#xA;      - Origin: JSpecify, Copyright (C) 2020 The JSpecify Authors&#xA;&#xA; - Path: third-party/java9-annotations/org/jspecify&#xA;      - License: Apache 2 ([license/third_party/testdata/jspecify_license.txt][jspecify])&#xA;      - Origin: JSpecify, Copyright (C) 2020 The JSpecify Authors&#xA;&#xA; - Path: third-party/annotations/lombok&#xA;      - License: MIT ([license/third_party/testdata/lombok_license.txt][lombok])&#xA;      - Origin: Project Lombok, Copyright (C) 2009-2013 The Project Lombok Authors&#xA;&#xA; - Path: idea/idea-android/tests/org/jetbrains/kotlin/android/AndroidTestBase.java&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: idea/testData/android/lintQuickfix/requiresApi/RequiresApi.java&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: idea/testData/android/lint/IntRange.java&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: idea/testData/android/lint/RequiresPermission.java&#xA;      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])&#xA;      - Origin: Copyright (C) 2011-15 The Android Open Source Project&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/allOpenSpring/src/org/springframework/stereotype/Component.java&#xA;      - License: Apache 2 ([license/third_party/testdata/spring_license.txt][spring])&#xA;      - Origin: Spring Framework, Copyright 2002-2007 the original author or authors.&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/AndroidDaggerProject&#xA;      - License: Apache 2 ([license/third_party/testdata/dagger_license.txt][dagger])&#xA;      - Origin: Dagger, Copyright (C) 2013 Square, Inc.&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/kapt2&#xA;      - License: Apache 2 ([license/third_party/testdata/dagger_license.txt][dagger])&#xA;      - Origin: Dagger, Copyright (C) 2013 Square, Inc.&#xA;&#xA; - Path: libraries/tools/kotlin-maven-plugin-test/src/it/test-allopen-spring/src/main/java/org/springframework/stereotype/Component.java&#xA;      - License: Apache 2 ([license/third_party/testdata/spring_license.txt][spring])&#xA;      - Origin: Spring Framework, Copyright 2002-2007 the original author or authors.&#xA;&#xA;## Kotlin Tools and Libraries Tests&#xA;&#xA;The following source code is used for testing the Kotlin tools and/or libraries and is not incorporated into&#xA;any distributions of the tools or libraries:&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PluginsDslIT.kt&#xA;      - License: Apache 2 ([license/third_party/gradle_license.txt][gradle])&#xA;      - Origin: Gradle, Copyright 2002-2017 Gradle, Inc.&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/target/test-classes/testProject/noArgJpa/src/javax/persistence/Entity.java&#xA;      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])&#xA;             and Eclipse Distribution License - v1.0 ([license/third_party/testdata/eclipse_distribution_license.txt][eclipse-distribution])&#xA;      - Origin: javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/noArgJpa/src/javax/persistence/Entity.java&#xA;      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])&#xA;             and Eclipse Distribution License - v1.0 ([license/third_party/testdata/eclipse_distribution_license.txt][eclipse-distribution])&#xA;      - Origin: javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.&#xA;&#xA; - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/noArgJpa/src/javax/persistence/Embeddable.java&#xA;      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])&#xA;             and Eclipse Distribution License - v1.0 ([license/third_party/testdata/eclipse_distribution_license.txt][eclipse-distribution])&#xA;      - Origin: javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.&#xA;      &#xA; - Path: libraries/tools/kotlin-test-js-runner/karma-kotlin-reporter.js&#xA;      - License: MIT ([license/third_party/karma_LICENSE.txt](third_party/karma_LICENSE.txt)&#xA;             and [license/third_party/karma-teamcity-reporter_LICENSE.txt](third_party/karma-teamcity-reporter_LICENSE.txt))&#xA;      - Origin: Copyright (C) 2011-2019 Google, Inc. and Copyright (C) 2011-2013 Vojta JÃ­na and contributors.&#xA;      &#xA; - Path: libraries/tools/kotlin-test-js-runner/mocha-kotlin-reporter.js&#xA;      - License: MIT ([license/third_party/mocha-teamcity-reporter_LICENSE.txt](third_party/mocha-teamcity-reporter_LICENSE.txt))&#xA;      - Origin: Copyright (c) 2016 Jamie Sherriff&#xA;      &#xA; - Path: libraries/tools/kotlin-test-js-runner/src/utils.ts&#xA;      - License: MIT ([license/third_party/teamcity-service-messages_LICENSE.txt](third_party/teamcity-service-messages_LICENSE.txt)&#xA;             and [license/third_party/lodash_LICENSE.txt](third_party/lodash_LICENSE.txt))&#xA;      - Origin: Copyright (c) 2013 Aaron Forsander and Copyright JS Foundation and other contributors &lt;https://js.foundation/&gt;&#xA;      &#xA; - Path: libraries/tools/kotlin-test-js-runner/src/teamcity-format.js&#xA;      - License: MIT ([license/third_party/mocha-teamcity-reporter_LICENSE.txt](third_party/mocha-teamcity-reporter_LICENSE.txt)&#xA;             and [license/third_party/teamcity-service-messages_LICENSE.txt](third_party/teamcity-service-messages_LICENSE.txt))&#xA;      - Origin: Copyright (c) 2016 Jamie Sherriff and Copyright (c) 2013 Aaron Forsander&#xA;&#xA;## Example Code&#xA;&#xA;The following code is provided as examples and is not incorporated into&#xA;any distributions of the compiler, libraries or plugin:&#xA;&#xA; - Path: libraries/examples/browser-example/src/js/jquery.js&#xA;      - License: MIT ([license/third_party/jquery_license.txt][jquery])&#xA;      - Origin: jQuery JavaScript Library v1.6.2, Copyright 2011, John Resig&#xA;&#xA; - Path: libraries/examples/browser-example-with-library/src/js/jquery.js&#xA;      - License: MIT ([license/third_party/jquery_license.txt][jquery])&#xA;      - Origin: jQuery JavaScript Library v1.6.2, Copyright 2011, John Resig&#xA;&#xA;[aosp]: third_party/aosp_license.txt&#xA;[asm]: third_party/asm_license.txt&#xA;[boost]: third_party/boost_LICENSE.txt&#xA;[closure-compiler]: third_party/closure-compiler_LICENSE.txt&#xA;[dagger]: third_party/testdata/dagger_license.txt&#xA;[dart]: third_party/dart_LICENSE.txt&#xA;[eclipse]: third_party/testdata/eclipse_license.txt&#xA;[eclipse-distribution]: third_party/testdata/eclipse_distribution_license.txt&#xA;[findbugs]: third_party/testdata/findbugs_license.txt&#xA;[gradle]: third_party/gradle_license.txt&#xA;[guava]: third_party/guava_license.txt&#xA;[gwt]: third_party/gwt_license.txt&#xA;[jquery]: third_party/jquery_license.txt&#xA;[lombok]: third_party/testdata/lombok_license.txt&#xA;[pcollections]: third_party/pcollections_LICENSE.txt&#xA;[qunit]: third_party/qunit_license.txt&#xA;[rhino]: third_party/rhino_LICENSE.txt&#xA;[rxjava]: third_party/testdata/rxjava_license.txt&#xA;[spring]: third_party/testdata/spring_license.txt&#xA;[assemblyscript]: third_party/assemblyscript_license.txt&#xA;