• Home
Name Date Size #Lines LOC

..--

third_party/03-May-2024-4,9194,038

COPYRIGHT.txtD03-May-2024647 1615

LICENSE.txtD03-May-202411.1 KiB203169

NOTICE.txtD03-May-2024482 97

README.mdD03-May-202414 KiB244186

README.md

1The Apache 2 license (given in full in [LICENSE.txt](LICENSE.txt)) applies to all code in this repository which is copyright
2by JetBrains. The following sections of the repository contain third-party code, to which different licenses
3may apply:
4
5## Kotlin Compiler
6
7The following modules contain third-party code and are incorporated into the Kotlin compiler and/or
8the Kotlin IntelliJ IDEA plugin:
9
10 - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxStackFrameSizeAndLocalsCalculator.java
11     - License: BSD ([license/third_party/asm_license.txt][asm])
12     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
13
14 - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/inline/MaxLocalsCalculator.java
15     - License: BSD ([license/third_party/asm_license.txt][asm])
16     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
17
18 - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/MethodAnalyzer.kt
19     - License: BSD ([license/third_party/asm_license.txt][asm])
20     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
21
22 - Path: core/reflection.jvm/src/kotlin.reflect/jvm/internal/pcollections
23     - License: MIT ([license/third_party/pcollections_LICENSE.txt][pcollections])
24     - Origin: Derived from PCollections, A Persistent Java Collections Library (https://pcollections.org/)
25
26 - Path: eval4j/src/org/jetbrains/eval4j/interpreterLoop.kt
27     - License: BSD ([license/third_party/asm_license.txt][asm])
28     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
29
30 - Path: compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/common/OptimizationBasicInterpreter.java
31     - License: BSD ([license/third_party/asm_license.txt][asm])
32     - Origin: Derived from ASM: a very small and fast Java bytecode manipulation framework, Copyright (c) 2000-2011 INRIA, France Telecom
33
34 - Path: js/js.ast
35     - License: BSD ([license/third_party/dart_LICENSE.txt][dart])
36     - Origin: Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,
37
38 - Path: js/js.inliner/src/org/jetbrains/kotlin/js/inline/FunctionInlineMutator.kt
39     - License: BSD ([license/third_party/dart_LICENSE.txt][dart])
40     - Origin: Originally part of the Dart compiler, (c) 2011 the Dart Project Authors,
41
42 - Path: js/js.parser/src/com/google
43      - License: Netscape Public License 1.1 ([license/third_party/rhino_LICENSE.txt][rhino])
44      - Origin: Originally part of GWT, (C) 2007-08 Google Inc., distributed under the Apache 2 license. The code
45        is derived from Rhino, (C) 1997-1999 Netscape Communications Corporation, distributed under the
46        Netscape Public License.
47
48 - Path: js/js.translator/qunit/qunit.js
49      - License: MIT ([license/third_party/qunit_license.txt][qunit])
50      - Origin: QUnit, Copyright (c) 2012 John Resig, Jörn Zaefferer,
51
52 - Path: libraries/stdlib/src/kotlin/collections
53      - License: Apache 2 ([license/third_party/gwt_license.txt][gwt])
54      - Origin: Derived from GWT, (C) 2007-08 Google Inc.
55
56 - Path: libraries/stdlib/unsigned/src/kotlin/UnsignedUtils.kt
57      - License: Apache 2 ([license/third_party/guava_license.txt][guava])
58      - Origin: Derived from Guava's UnsignedLongs, (C) 2011 The Guava Authors
59
60 - Path: libraries/stdlib/jvm/src/kotlin/util/MathJVM.kt
61      - License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])
62      - Origin: Derived from boost special math functions, Copyright Eric Ford & Hubert Holin 2001.
63
64 - Path: libraries/stdlib/js/src/kotlin/collections
65      - License: Apache 2 ([license/third_party/gwt_license.txt][gwt])
66      - Origin: Derived from GWT, (C) 2007-08 Google Inc.
67
68 - Path: libraries/stdlib/js-v1/src/js/long.js
69      - License: Apache 2 ([license/third_party/closure-compiler_LICENSE.txt][closure-compiler])
70      - Origin: Google Closure Library, Copyright 2009 The Closure Library Authors
71
72 - Path: libraries/stdlib/js-v1/src/js/polyfills.js
73      - License: Boost Software License 1.0 ([license/third_party/boost_LICENSE.txt][boost])
74      - Origin: Derived from boost special math functions, Copyright Eric Ford & Hubert Holin 2001.
75
76 - Path: plugins/lint/android-annotations
77      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
78      - Origin: Copyright (C) 2011-15 The Android Open Source Project
79
80 - Path: plugins/lint/lint-api
81      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
82      - Origin: Copyright (C) 2011-15 The Android Open Source Project
83
84 - Path: plugins/lint/lint-checks
85      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
86      - Origin: Copyright (C) 2011-15 The Android Open Source Project
87
88 - Path: plugins/lint/lint-idea
89      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
90      - Origin: Copyright (C) 2011-15 The Android Open Source Project
91
92 - Path: wasm/ir/src/org/jetbrains/kotlin/wasm/ir/convertors
93      - License: MIT ([license/third_party/asmble_license.txt][asmble])
94      - Origin: Copyright (C) 2018 Chad Retz
95
96 - Path: compiler/tests-common/tests/org/jetbrains/kotlin/codegen/ir/ComposeLikeGenerationExtension.kt
97      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
98      - Origin: Derived from JetPack Compose compiler plugin code, Copyright 2019 The Android Open Source Project
99
100## Kotlin Test Data
101
102The following source code is used for testing the Kotlin compiler and/or plugin and is not incorporated into
103any distributions of the compiler, libraries or plugin:
104
105 - Path: third-party/annotations/android
106      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
107      - Origin: Copyright (C) 2011-15 The Android Open Source Project
108
109 - Path: third-party/annotations/com/android
110      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
111      - Origin: Copyright (C) 2011-15 The Android Open Source Project
112
113 - Path: third-party/annotations/org/eclipse
114      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
115      - Origin: Eclipse JDT, Copyright (c) 2011, 2013 Stephan Herrmann and others.
116
117 - Path: third-party/annotations/androidx
118      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
119      - Origin: Copyright (C) 2011-15 The Android Open Source Project
120
121 - Path: third-party/annotations/edu/umd/cs/findbugs
122      - License: LGPL 2.1 ([license/third_party/testdata/findbugs_license.txt][findbugs])
123      - Origin: Bytecode Analysis Framework, Copyright (C) 2005 University of Maryland
124
125 - Path: third-party/jdk8-annotations/org/eclipse
126      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
127      - Origin: Eclipse JDT, Copyright (c) 2011, 2013 Stephan Herrmann and others.
128
129 - Path: third-party/annotations/io/reactivex
130      - License: Apache 2 ([license/third_party/testdata/rxjava_license.txt][rxjava])
131      - Origin: RxJava, Copyright (c) 2016-present, RxJava Contributors
132
133 - Path: third-party/annotations/lombok
134      - License: MIT ([license/third_party/testdata/lombok_license.txt][lombok])
135      - Origin: Project Lombok, Copyright (C) 2009-2013 The Project Lombok Authors
136
137 - Path: idea/idea-android/tests/org/jetbrains/kotlin/android/AndroidTestBase.java
138      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
139      - Origin: Copyright (C) 2011-15 The Android Open Source Project
140
141 - Path: idea/testData/android/lintQuickfix/requiresApi/RequiresApi.java
142      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
143      - Origin: Copyright (C) 2011-15 The Android Open Source Project
144
145 - Path: idea/testData/android/lint/IntRange.java
146      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
147      - Origin: Copyright (C) 2011-15 The Android Open Source Project
148
149 - Path: idea/testData/android/lint/RequiresPermission.java
150      - License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
151      - Origin: Copyright (C) 2011-15 The Android Open Source Project
152
153 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/allOpenSpring/src/org/springframework/stereotype/Component.java
154      - License: Apache 2 ([license/third_party/testdata/spring_license.txt][spring])
155      - Origin: Spring Framework, Copyright 2002-2007 the original author or authors.
156
157 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/AndroidDaggerProject
158      - License: Apache 2 ([license/third_party/testdata/dagger_license.txt][dagger])
159      - Origin: Dagger, Copyright (C) 2013 Square, Inc.
160
161 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/kapt2
162      - License: Apache 2 ([license/third_party/testdata/dagger_license.txt][dagger])
163      - Origin: Dagger, Copyright (C) 2013 Square, Inc.
164
165 - Path: libraries/tools/kotlin-maven-plugin-test/src/it/test-allopen-spring/src/main/java/org/springframework/stereotype/Component.java
166      - License: Apache 2 ([license/third_party/testdata/spring_license.txt][spring])
167      - Origin: Spring Framework, Copyright 2002-2007 the original author or authors.
168
169## Kotlin Tools and Libraries Tests
170
171The following source code is used for testing the Kotlin tools and/or libraries and is not incorporated into
172any distributions of the tools or libraries:
173
174 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PluginsDslIT.kt
175      - License: Apache 2 ([license/third_party/gradle_license.txt][gradle])
176      - Origin: Gradle, Copyright 2002-2017 Gradle, Inc.
177
178 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/target/test-classes/testProject/noArgJpa/src/javax/persistence/Entity.java
179      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
180             and Eclipse Distribution License - v1.0 ([license/third_party/testdata/eclipse_distribution_license.txt][eclipse-distribution])
181      - Origin: javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.
182
183 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/noArgJpa/src/javax/persistence/Entity.java
184      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
185             and Eclipse Distribution License - v1.0 ([license/third_party/testdata/eclipse_distribution_license.txt][eclipse-distribution])
186      - Origin: javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.
187
188 - Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/noArgJpa/src/javax/persistence/Embeddable.java
189      - License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
190             and Eclipse Distribution License - v1.0 ([license/third_party/testdata/eclipse_distribution_license.txt][eclipse-distribution])
191      - Origin: javax.persistence, Copyright (c) 2008, 2017 Sun Microsystems, Oracle Corporation.
192
193 - Path: libraries/tools/kotlin-test-js-runner/karma-kotlin-reporter.js
194      - License: MIT ([license/third_party/karma_LICENSE.txt](third_party/karma_LICENSE.txt)
195             and [license/third_party/karma-teamcity-reporter_LICENSE.txt](third_party/karma-teamcity-reporter_LICENSE.txt))
196      - Origin: Copyright (C) 2011-2019 Google, Inc. and Copyright (C) 2011-2013 Vojta Jína and contributors.
197
198 - Path: libraries/tools/kotlin-test-js-runner/mocha-kotlin-reporter.js
199      - License: MIT ([license/third_party/mocha-teamcity-reporter_LICENSE.txt](third_party/mocha-teamcity-reporter_LICENSE.txt))
200      - Origin: Copyright (c) 2016 Jamie Sherriff
201
202 - Path: libraries/tools/kotlin-test-js-runner/src/utils.ts
203      - License: MIT ([license/third_party/teamcity-service-messages_LICENSE.txt](third_party/teamcity-service-messages_LICENSE.txt)
204             and [license/third_party/lodash_LICENSE.txt](third_party/lodash_LICENSE.txt))
205      - Origin: Copyright (c) 2013 Aaron Forsander and Copyright JS Foundation and other contributors <https://js.foundation/>
206
207 - Path: libraries/tools/kotlin-test-js-runner/src/teamcity-format.js
208      - License: MIT ([license/third_party/mocha-teamcity-reporter_LICENSE.txt](third_party/mocha-teamcity-reporter_LICENSE.txt)
209             and [license/third_party/teamcity-service-messages_LICENSE.txt](third_party/teamcity-service-messages_LICENSE.txt))
210      - Origin: Copyright (c) 2016 Jamie Sherriff and Copyright (c) 2013 Aaron Forsander
211
212## Example Code
213
214The following code is provided as examples and is not incorporated into
215any distributions of the compiler, libraries or plugin:
216
217 - Path: libraries/examples/browser-example/src/js/jquery.js
218      - License: MIT ([license/third_party/jquery_license.txt][jquery])
219      - Origin: jQuery JavaScript Library v1.6.2, Copyright 2011, John Resig
220
221 - Path: libraries/examples/browser-example-with-library/src/js/jquery.js
222      - License: MIT ([license/third_party/jquery_license.txt][jquery])
223      - Origin: jQuery JavaScript Library v1.6.2, Copyright 2011, John Resig
224
225[aosp]: third_party/aosp_license.txt
226[asm]: third_party/asm_license.txt
227[boost]: third_party/boost_LICENSE.txt
228[closure-compiler]: third_party/closure-compiler_LICENSE.txt
229[dagger]: third_party/testdata/dagger_license.txt
230[dart]: third_party/dart_LICENSE.txt
231[eclipse]: third_party/testdata/eclipse_license.txt
232[eclipse-distribution]: third_party/testdata/eclipse_distribution_license.txt
233[findbugs]: third_party/testdata/findbugs_license.txt
234[gradle]: third_party/gradle_license.txt
235[guava]: third_party/guava_license.txt
236[gwt]: third_party/gwt_license.txt
237[jquery]: third_party/jquery_license.txt
238[lombok]: third_party/testdata/lombok_license.txt
239[pcollections]: third_party/pcollections_LICENSE.txt
240[qunit]: third_party/qunit_license.txt
241[rhino]: third_party/rhino_LICENSE.txt
242[rxjava]: third_party/testdata/rxjava_license.txt
243[spring]: third_party/testdata/spring_license.txt
244