The Apache 2 license (given in full in 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/MethodAnalyzer.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: core/reflection.jvm/src/kotlin.reflect/jvm/internal/pcollections
- License: MIT ([license/third_party/pcollections_LICENSE.txt][pcollections])
- Origin: Derived from PCollections, A Persistent Java Collections Library (https://pcollections.org/)
- 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/unsigned/src/kotlin/UnsignedUtils.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/js/src/js/long.js
- 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/js/polyfills.js
- 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: 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
## Kotlin Test Data
The following source code is used for testing the Kotlin compiler and/or plugin and is not incorporated into
any distributions of the compiler, libraries or plugin:
- Path: third-party/annotations/android
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: third-party/annotations/com/android
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: third-party/annotations/org/eclipse
- License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
- Origin: Eclipse JDT, Copyright (c) 2011, 2013 Stephan Herrmann and others.
- Path: third-party/annotations/androidx
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: third-party/annotations/edu/umd/cs/findbugs
- License: LGPL 2.1 ([license/third_party/testdata/findbugs_license.txt][findbugs])
- Origin: Bytecode Analysis Framework, Copyright (C) 2005 University of Maryland
- Path: third-party/jdk8-annotations/org/eclipse
- License: Eclipse Public License v1.0 ([license/third_party/testdata/eclipse_license.txt][eclipse])
- Origin: Eclipse JDT, Copyright (c) 2011, 2013 Stephan Herrmann and others.
- Path: third-party/annotations/io/reactivex
- License: Apache 2 ([license/third_party/testdata/rxjava_license.txt][rxjava])
- Origin: RxJava, Copyright (c) 2016-present, RxJava Contributors
- Path: third-party/annotations/lombok
- License: MIT ([license/third_party/testdata/lombok_license.txt][lombok])
- Origin: Project Lombok, Copyright (C) 2009-2013 The Project Lombok Authors
- Path: idea/idea-android/tests/org/jetbrains/kotlin/android/AndroidTestBase.java
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: idea/testData/android/lintQuickfix/requiresApi/RequiresApi.java
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: idea/testData/android/lint/IntRange.java
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: idea/testData/android/lint/RequiresPermission.java
- License: Apache 2 ([license/third_party/aosp_license.txt][aosp])
- Origin: Copyright (C) 2011-15 The Android Open Source Project
- Path: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/allOpenSpring/src/org/springframework/stereotype/Component.ja
没有合适的资源?快使用搜索试试~ 我知道了~
kotlin compiler

共86个文件
jar:46个
txt:29个
bat:5个

需积分: 48 9 下载量 134 浏览量
2019-01-20
22:11:07
上传
评论
收藏 35.52MB RAR 举报
温馨提示
其基础编译器(他们将其改为kompiler——开创了一系列以K字打头的用语——甚至连 contributors这类词他们也用改成了kontributors)可以被独立出来并嵌入到 Maven、Ant 或 Gradle 工具链中。这使得在 IDE 中开发的代码能够利用已有的机制来构建,从而尽可能的减少了在新环境中使用所受的干预,哪怕与那些没有安装 Kotlin 插件的开发人员一起合作项目也没有问题。 The IntelliJ Kotlin 插件扩展了 Java 编译器使得 Kotlin 代码能够得以编写、编译和调试。除此之外,关于基本的 Java 集合,已经有编写好的帮助函数,可以更顺畅地衔接将在 Java 8 中出现的集合扩展。 有两篇文章对 Kotlin 与 Java 以及 Kotlin 与 Scala 分别进行了比较,对各自特性和异同进行了对比。即便 Scala 可能还是更为强大些,Kotlin 还是尝试着提供比 Java 更好的函数、模式匹配、空指针预防和泛型。该语言同时也支持特征(traits)和模式匹配。 Kotlin 插件在当前版本的 IntelliJ 和 Eclipse 中均已能使用。 [4] Kotlin,类似 Xtend 一样,旨在提供一种更好的 Java 而非重建整个新平台。这两种语言都向下编译为字节码(虽然 Xtend 是首先转换成相应的 Java 代码,再让 Java 编译器完成繁重的工作),而且两者都引入了函数和扩展函数(在某个有限范围内静态地增加一个新方法到某个已有类型的能力)。Xtend 是基于 Eclipse 的,而 Kotlin 是基于 IntelliJ 的,两者都提供无界面构建。能够首先演变到其他 IDE 的语言有可能成为最后的赢家。
资源推荐
资源详情
资源评论
















格式:pdf 资源大小:4.1MB 页数:127










格式:zip 资源大小:133.4KB




收起资源包目录





























































































共 86 条
- 1
资源评论


a_cui
- 粉丝: 0
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
