diff --git a/.drone.yml b/.drone.yml index 1f9398844568..b04b84c7a9c8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ pipeline: image: lampepfl/dotty:2018-12-12 commands: - cp -R . /tmp/1/ && cd /tmp/1/ - - ./project/scripts/sbt ";compile ;test" + - ./project/scripts/sbt "headerCheck; ;compile ;test" - ./project/scripts/cmdTests test_bootstrapped: diff --git a/AUTHORS.md b/AUTHORS.md deleted file mode 100644 index 4b3cc7780434..000000000000 --- a/AUTHORS.md +++ /dev/null @@ -1,77 +0,0 @@ -The dotty compiler frontend has been developed since November 2012 by Martin Odersky. It is expected and hoped for -that the list of contributors to the codebase will grow quickly. Dotty draws inspiration and code from the original -Scala compiler "nsc", which is developed at [scala/scala](https://github.com/scala/scala). - -The majority of the dotty codebase is new code, with the exception of the components mentioned below. We have for each component tried to come up with a list of the original authors in the [scala/scala](https://github.com/scala/scala) codebase. Apologies if some major authors were omitted by oversight. - -`dotty.tools.dotc.ast` - -> The syntax tree handling is mostly new, but some elements, such as the idea of tree copiers and the `TreeInfo` module, -> were adopted from [scala/scala](https://github.com/scala/scala). -> The original authors of these parts include Martin Odersky, Paul Phillips, Adriaan Moors, and Matthias Zenger. - -`dotty.tools.dotc.classpath` - -> The classpath handling is taken mostly as is from [scala/scala](https://github.com/scala/scala). -> The original authors were Grzegorz Kossakowski, Michał Pociecha, Lukas Rytz, Jason Zaugg and others. - -`dotty.tools.dotc.config` - -> The configuration components were adapted and extended from [scala/scala](https://github.com/scala/scala). -> The original sources were authored by Paul Phillips with contributions from Martin Odersky, Miguel Garcia and others. - -`dotty.tools.dotc.core` - -> The core data structures and operations are mostly new. Some parts (e.g. those dealing with names) were adapted from [scala/scala](https://github.com/scala/scala). -> These were originally authored by Martin Odersky, Adriaan Moors, Jason Zaugg, Paul Phillips, Eugene Burmako and others. - -`dotty.tools.dotc.core.pickling` - -> The classfile readers were adapted from the current Scala compiler. Original authors were Martin Odersky, Iulian Dragos, Matthias Zenger and others. - -`dotty.tools.dotc.parsing` - -> The lexical and syntactic analysis components were adapted from the current Scala compiler. They were originally authored by Martin Odersky, -> Burak Emir, Paul Phillips, Lex Spoon, Sean McDirmid and others. - -`dotty.tools.dotc.profile` - -> The per-phase profiling support is taken mostly as is from [scala/scala](https://github.com/scala/scala). -> The original author was Mike Skells. - -`dotty.tools.dotc.reporting` - -> Adapted from [scala/scala](https://github.com/scala/scala) with some heavy modifications. They were originally authored by Matthias Zenger, Martin Odersky, and others. - -`dotty.tools.dotc.typer` - -> This is new code except for some minor components (e.g. the ConstantFolder). It uses however many solution details that have been developed over time by many people, including Jason Zaugg, Adriaan Moors, Lukas Rytz, Paul Phillips, Grzegorz Kossakowski, and others. - -`dotty.tools.dotc.util` - -> The utilities package is a mix of new and adapted components. The files in [scala/scala](https://github.com/scala/scala) were originally authored by many people, -> including Paul Phillips, Martin Odersky, Sean McDirmid, and others. - -`dotty.tools.io` - -> The I/O support library was adapted from current Scala compiler. Original authors were Paul Phillips and others. - -`dotty.test.DottyBytecodeTest` - -> Is an adaptation of the bytecode testing from -> [scala/scala](https://github.com/scala/scala). It has been reworked to fit -> the needs of dotty. Original authors include: Adrian Moors, Lukas Rytz, -> Grzegorz Kossakowski, Paul Phillips - -`dotty.tools.dotc.sbt and everything in sbt-bridge/` - -> The sbt compiler phases are based on -> https://github.com/adriaanm/scala/tree/sbt-api-consolidate/src/compiler/scala/tools/sbt -> which attempts to integrate the sbt phases into scalac and is itself based on -> the [compiler bridge in sbt 0.13](https://github.com/sbt/sbt/tree/0.13/compile/interface/src/main/scala/xsbt), -> but has been heavily adapted and refactored. -> Original authors were Mark Harrah, Grzegorz Kossakowski, Martin Duhemm, Adriaan Moors and others. - -`dotty.tools.dotc.plugins` - -> Adapted from [scala/scala](https://github.com/scala/scala) with some modifications. They were originally authored by Lex Spoon, Som Snytt, Adriaan Moors, Paul Phillips and others. diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 935069d179ff..000000000000 --- a/LICENSE.md +++ /dev/null @@ -1,16 +0,0 @@ -Dotty is licensed under the [BSD 3-Clause License](http://opensource.org/licenses/BSD-3-Clause). - -Copyright (c) 2014, EPFL - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/NOTICE b/NOTICE new file mode 100644 index 000000000000..f1adb9180869 --- /dev/null +++ b/NOTICE @@ -0,0 +1,93 @@ +Dotty (https://dotty.epfl.ch) +Copyright 2012-2019 EPFL +Copyright 2012-2019 Lightbend, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"): +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +The dotty compiler frontend has been developed since November 2012 by Martin +Odersky. It is expected and hoped for that the list of contributors to the +codebase will grow quickly. Dotty draws inspiration and code from the original +Scala compiler "nsc", which is developed at scala/scala [1]. + +The majority of the dotty codebase is new code, with the exception of the +components mentioned below. We have for each component tried to come up with a +list of the original authors in the scala/scala [1] codebase. Apologies if some +major authors were omitted by oversight. + + * dotty.tools.dotc.ast: The syntax tree handling is mostly new, but some + elements, such as the idea of tree copiers and the `TreeInfo` module, + were adopted from scala/scala [1]. The original authors of these parts + include Martin Odersky, Paul Phillips, Adriaan Moors, and Matthias Zenger. + + * dotty.tools.dotc.classpath: The classpath handling is taken mostly as is + from scala/scala [1]. The original authors were Grzegorz Kossakowski, + Michał Pociecha, Lukas Rytz, Jason Zaugg and others. + + * dotty.tools.dotc.config: The configuration components were adapted and + extended from scala/scala [1]. The original sources were authored by Paul + Phillips with contributions from Martin Odersky, Miguel Garcia and others. + + * dotty.tools.dotc.core: The core data structures and operations are mostly + new. Some parts (e.g. those dealing with names) were adapted from + scala/scala [1]. These were originally authored by Martin Odersky, Adriaan + Moors, Jason Zaugg, Paul Phillips, Eugene Burmako and others. + + * dotty.tools.dotc.core.pickling: The classfile readers were adapted from the + current Scala compiler. Original authors were Martin Odersky, Iulian + Dragos, Matthias Zenger and others. + + * dotty.tools.dotc.parsing: The lexical and syntactic analysis components + were adapted from the current Scala compiler. They were originally authored + by Martin Odersky, Burak Emir, Paul Phillips, Lex Spoon, Sean McDirmid and + others. + + * dotty.tools.dotc.profile: The per-phase profiling support is taken mostly + as is from scala/scala. The original author was Mike Skells. + + * dotty.tools.dotc.reporting: Adapted from scala/scala [1] with some heavy + modifications. They were originally authored by Matthias Zenger, Martin + Odersky, and others. + + * dotty.tools.dotc.typer: This is new code except for some minor components + (e.g. the ConstantFolder). It uses however many solution details that have + been developed over time by many people, including Jason Zaugg, Adriaan + Moors, Lukas Rytz, Paul Phillips, Grzegorz Kossakowski, and others. + + * dotty.tools.dotc.util: The utilities package is a mix of new and adapted + components. The files in scala/scala [1] were originally authored by many + people, including Paul Phillips, Martin Odersky, Sean McDirmid, and others. + + * dotty.tools.io: The I/O support library was adapted from current Scala + compiler. Original authors were Paul Phillips and others. + + * dotty.test.DottyBytecodeTest: Is an adaptation of the bytecode testing from + scala/scala [1]. It has been reworked to fit the needs of dotty. Original + authors include: Adrian Moors, Lukas Rytz, Grzegorz Kossakowski, Paul + Phillips. + + * dotty.tools.dotc.sbt and everything in sbt-bridge: The sbt compiler phases + are based on [2] which attempts to integrate the sbt phases into scalac and + is itself based on the compiler bridge in sbt 0.13 [3], but has been + heavily adapted and refactored. Original authors were Mark Harrah, Grzegorz + Kossakowski, Martin Duhemm, Adriaan Moors and others. + + * dotty.tools.dotc.plugins: Adapted from scala/scala [1] with some + modifications. They were originally authored by Lex Spoon, Som Snytt, + Adriaan Moors, Paul Phillips and others. + + * dotty.tools.dottydoc: The Dottydoc documentation utility ships some + third-party Javascript and CSS libraries which are located under + dotty-doc/resources/css/, dotty-doc/resources/js/, docs/css/ and + docs/js/. Please refer to the license header of the concerned files for + details. + +[1] https://github.com/scala/scala +[2] https://github.com/adriaanm/scala/tree/sbt-api-consolidate/src/compiler/scala/tools/sbt +[3] https://github.com/sbt/sbt/tree/0.13/compile/interface/src/main/scala/xsbt diff --git a/README.md b/README.md index dfedfefed65c..2170da846330 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ How to Contribute License ======= -Dotty is licensed under the [3-Clause BSD License](https://github.com/lampepfl/dotty/blob/master/LICENSE.md) +Dotty is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) diff --git a/compiler/src/dotty/tools/FatalError.scala b/compiler/src/dotty/tools/FatalError.scala index f75d5cf12fbe..6e501fa836cf 100644 --- a/compiler/src/dotty/tools/FatalError.scala +++ b/compiler/src/dotty/tools/FatalError.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools case class FatalError(msg: String) extends Exception(msg) diff --git a/compiler/src/dotty/tools/backend/jvm/CollectEntryPoints.scala b/compiler/src/dotty/tools/backend/jvm/CollectEntryPoints.scala index a2d178e70c49..189561ecd02f 100644 --- a/compiler/src/dotty/tools/backend/jvm/CollectEntryPoints.scala +++ b/compiler/src/dotty/tools/backend/jvm/CollectEntryPoints.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.jvm import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/backend/jvm/CollectSuperCalls.scala b/compiler/src/dotty/tools/backend/jvm/CollectSuperCalls.scala index 8e646b5b7d81..3c9214b9abc3 100644 --- a/compiler/src/dotty/tools/backend/jvm/CollectSuperCalls.scala +++ b/compiler/src/dotty/tools/backend/jvm/CollectSuperCalls.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.jvm import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index 781885faec65..ae605c2221a0 100644 --- a/compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.jvm import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/backend/jvm/GenBCode.scala b/compiler/src/dotty/tools/backend/jvm/GenBCode.scala index fe5d3c08aa8a..159a2fd24070 100644 --- a/compiler/src/dotty/tools/backend/jvm/GenBCode.scala +++ b/compiler/src/dotty/tools/backend/jvm/GenBCode.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.jvm import dotty.tools.dotc.CompilationUnit diff --git a/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala b/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala index 66c247167ed8..aaf503877cbd 100644 --- a/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala +++ b/compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2012 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools diff --git a/compiler/src/dotty/tools/backend/sjs/GenSJSIR.scala b/compiler/src/dotty/tools/backend/sjs/GenSJSIR.scala index 0659eb8d6f09..b4483732443d 100644 --- a/compiler/src/dotty/tools/backend/sjs/GenSJSIR.scala +++ b/compiler/src/dotty/tools/backend/sjs/GenSJSIR.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala b/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala index 48c363ee65e0..acce87c833a8 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import scala.annotation.switch diff --git a/compiler/src/dotty/tools/backend/sjs/JSDefinitions.scala b/compiler/src/dotty/tools/backend/sjs/JSDefinitions.scala index e19834cdc4f5..050b1b1081ae 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSDefinitions.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSDefinitions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/backend/sjs/JSEncoding.scala b/compiler/src/dotty/tools/backend/sjs/JSEncoding.scala index 95ee81515edf..799ee675ddf7 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSEncoding.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSEncoding.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import scala.collection.mutable diff --git a/compiler/src/dotty/tools/backend/sjs/JSInterop.scala b/compiler/src/dotty/tools/backend/sjs/JSInterop.scala index e984489cf51d..cef7732ff5a8 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSInterop.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSInterop.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/backend/sjs/JSPositions.scala b/compiler/src/dotty/tools/backend/sjs/JSPositions.scala index 0e2bae540d97..86fbedfcf32e 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSPositions.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSPositions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/backend/sjs/JSPrimitives.scala b/compiler/src/dotty/tools/backend/sjs/JSPrimitives.scala index 26f52a242a50..183eb5ca7f3d 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSPrimitives.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSPrimitives.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/backend/sjs/ScopedVar.scala b/compiler/src/dotty/tools/backend/sjs/ScopedVar.scala index f8185697e15d..decc7ffa5922 100644 --- a/compiler/src/dotty/tools/backend/sjs/ScopedVar.scala +++ b/compiler/src/dotty/tools/backend/sjs/ScopedVar.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.backend.sjs import language.implicitConversions diff --git a/compiler/src/dotty/tools/dotc/Bench.scala b/compiler/src/dotty/tools/dotc/Bench.scala index 892c683181d8..7ad1b8de9208 100644 --- a/compiler/src/dotty/tools/dotc/Bench.scala +++ b/compiler/src/dotty/tools/dotc/Bench.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc diff --git a/compiler/src/dotty/tools/dotc/CompilationUnit.scala b/compiler/src/dotty/tools/dotc/CompilationUnit.scala index 00527db565a8..06b33e76f4dd 100644 --- a/compiler/src/dotty/tools/dotc/CompilationUnit.scala +++ b/compiler/src/dotty/tools/dotc/CompilationUnit.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc diff --git a/compiler/src/dotty/tools/dotc/Compiler.scala b/compiler/src/dotty/tools/dotc/Compiler.scala index 3b31ffe7b363..1c18e441a667 100644 --- a/compiler/src/dotty/tools/dotc/Compiler.scala +++ b/compiler/src/dotty/tools/dotc/Compiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc diff --git a/compiler/src/dotty/tools/dotc/Driver.scala b/compiler/src/dotty/tools/dotc/Driver.scala index 9170cfd0af55..6ffc7f009ca0 100644 --- a/compiler/src/dotty/tools/dotc/Driver.scala +++ b/compiler/src/dotty/tools/dotc/Driver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc import java.nio.file.{Files, Paths} diff --git a/compiler/src/dotty/tools/dotc/Main.scala b/compiler/src/dotty/tools/dotc/Main.scala index 3288fded52a2..8f730405b542 100644 --- a/compiler/src/dotty/tools/dotc/Main.scala +++ b/compiler/src/dotty/tools/dotc/Main.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc diff --git a/compiler/src/dotty/tools/dotc/MissingCoreLibraryException.scala b/compiler/src/dotty/tools/dotc/MissingCoreLibraryException.scala index ae20d81226c9..10902e929f46 100644 --- a/compiler/src/dotty/tools/dotc/MissingCoreLibraryException.scala +++ b/compiler/src/dotty/tools/dotc/MissingCoreLibraryException.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc import dotty.tools.FatalError diff --git a/compiler/src/dotty/tools/dotc/Resident.scala b/compiler/src/dotty/tools/dotc/Resident.scala index 0b971dd05953..08b35213aae2 100644 --- a/compiler/src/dotty/tools/dotc/Resident.scala +++ b/compiler/src/dotty/tools/dotc/Resident.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc diff --git a/compiler/src/dotty/tools/dotc/Run.scala b/compiler/src/dotty/tools/dotc/Run.scala index 9067693e1168..a3fc7ed59b57 100644 --- a/compiler/src/dotty/tools/dotc/Run.scala +++ b/compiler/src/dotty/tools/dotc/Run.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc diff --git a/compiler/src/dotty/tools/dotc/ast/Desugar.scala b/compiler/src/dotty/tools/dotc/ast/Desugar.scala index c6706e3e2368..dc870438dbe9 100644 --- a/compiler/src/dotty/tools/dotc/ast/Desugar.scala +++ b/compiler/src/dotty/tools/dotc/ast/Desugar.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala b/compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala index 69b0bf780b75..c5f94789978a 100644 --- a/compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala +++ b/compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/NavigateAST.scala b/compiler/src/dotty/tools/dotc/ast/NavigateAST.scala index f180b34e3aa3..61c564502940 100644 --- a/compiler/src/dotty/tools/dotc/ast/NavigateAST.scala +++ b/compiler/src/dotty/tools/dotc/ast/NavigateAST.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/PluggableTransformers.scala b/compiler/src/dotty/tools/dotc/ast/PluggableTransformers.scala index a584230a2419..f5479b51f827 100644 --- a/compiler/src/dotty/tools/dotc/ast/PluggableTransformers.scala +++ b/compiler/src/dotty/tools/dotc/ast/PluggableTransformers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/Positioned.scala b/compiler/src/dotty/tools/dotc/ast/Positioned.scala index 55144d460145..5cb6871091b8 100644 --- a/compiler/src/dotty/tools/dotc/ast/Positioned.scala +++ b/compiler/src/dotty/tools/dotc/ast/Positioned.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/TreeInfo.scala b/compiler/src/dotty/tools/dotc/ast/TreeInfo.scala index 7db82df9e723..390a479d4bff 100644 --- a/compiler/src/dotty/tools/dotc/ast/TreeInfo.scala +++ b/compiler/src/dotty/tools/dotc/ast/TreeInfo.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/TreeTypeMap.scala b/compiler/src/dotty/tools/dotc/ast/TreeTypeMap.scala index 25269c17e863..a9ec54ca5c1c 100644 --- a/compiler/src/dotty/tools/dotc/ast/TreeTypeMap.scala +++ b/compiler/src/dotty/tools/dotc/ast/TreeTypeMap.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/Trees.scala b/compiler/src/dotty/tools/dotc/ast/Trees.scala index 603e95af29ef..b72a89dff662 100644 --- a/compiler/src/dotty/tools/dotc/ast/Trees.scala +++ b/compiler/src/dotty/tools/dotc/ast/Trees.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/tpd.scala b/compiler/src/dotty/tools/dotc/ast/tpd.scala index 3fce069dd475..e41d9701e582 100644 --- a/compiler/src/dotty/tools/dotc/ast/tpd.scala +++ b/compiler/src/dotty/tools/dotc/ast/tpd.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/ast/untpd.scala b/compiler/src/dotty/tools/dotc/ast/untpd.scala index f56cdea95bc5..fe41c5384ce3 100644 --- a/compiler/src/dotty/tools/dotc/ast/untpd.scala +++ b/compiler/src/dotty/tools/dotc/ast/untpd.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package ast diff --git a/compiler/src/dotty/tools/dotc/classpath/AggregateClassPath.scala b/compiler/src/dotty/tools/dotc/classpath/AggregateClassPath.scala index 24cd2e4d632b..adc7a497e35d 100644 --- a/compiler/src/dotty/tools/dotc/classpath/AggregateClassPath.scala +++ b/compiler/src/dotty/tools/dotc/classpath/AggregateClassPath.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools package dotc.classpath diff --git a/compiler/src/dotty/tools/dotc/classpath/ClassPath.scala b/compiler/src/dotty/tools/dotc/classpath/ClassPath.scala index 6895897989d0..1ae9d087a064 100644 --- a/compiler/src/dotty/tools/dotc/classpath/ClassPath.scala +++ b/compiler/src/dotty/tools/dotc/classpath/ClassPath.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.classpath import dotty.tools.io.AbstractFile diff --git a/compiler/src/dotty/tools/dotc/classpath/ClassPathFactory.scala b/compiler/src/dotty/tools/dotc/classpath/ClassPathFactory.scala index 3ade2fcf2f13..c697560d00ea 100644 --- a/compiler/src/dotty/tools/dotc/classpath/ClassPathFactory.scala +++ b/compiler/src/dotty/tools/dotc/classpath/ClassPathFactory.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.classpath import dotty.tools.io.{AbstractFile, VirtualDirectory} diff --git a/compiler/src/dotty/tools/dotc/classpath/DirectoryClassPath.scala b/compiler/src/dotty/tools/dotc/classpath/DirectoryClassPath.scala index 73702947a991..a2a696e0d789 100644 --- a/compiler/src/dotty/tools/dotc/classpath/DirectoryClassPath.scala +++ b/compiler/src/dotty/tools/dotc/classpath/DirectoryClassPath.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.classpath import java.io.{File => JFile} diff --git a/compiler/src/dotty/tools/dotc/classpath/FileUtils.scala b/compiler/src/dotty/tools/dotc/classpath/FileUtils.scala index a8628be6db3c..89f350ca2ffe 100644 --- a/compiler/src/dotty/tools/dotc/classpath/FileUtils.scala +++ b/compiler/src/dotty/tools/dotc/classpath/FileUtils.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools package dotc.classpath diff --git a/compiler/src/dotty/tools/dotc/classpath/PackageNameUtils.scala b/compiler/src/dotty/tools/dotc/classpath/PackageNameUtils.scala index 303f142b9e60..f6f6ffbfcd25 100644 --- a/compiler/src/dotty/tools/dotc/classpath/PackageNameUtils.scala +++ b/compiler/src/dotty/tools/dotc/classpath/PackageNameUtils.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.classpath import dotty.tools.io.ClassPath.RootPackage diff --git a/compiler/src/dotty/tools/dotc/classpath/VirtualDirectoryClassPath.scala b/compiler/src/dotty/tools/dotc/classpath/VirtualDirectoryClassPath.scala index ae285f80790b..d6a710cc500b 100644 --- a/compiler/src/dotty/tools/dotc/classpath/VirtualDirectoryClassPath.scala +++ b/compiler/src/dotty/tools/dotc/classpath/VirtualDirectoryClassPath.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.classpath import dotty.tools.io.ClassRepresentation diff --git a/compiler/src/dotty/tools/dotc/classpath/ZipAndJarFileLookupFactory.scala b/compiler/src/dotty/tools/dotc/classpath/ZipAndJarFileLookupFactory.scala index 2e3250bf174a..331ace74c17f 100644 --- a/compiler/src/dotty/tools/dotc/classpath/ZipAndJarFileLookupFactory.scala +++ b/compiler/src/dotty/tools/dotc/classpath/ZipAndJarFileLookupFactory.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.classpath import java.io.File diff --git a/compiler/src/dotty/tools/dotc/classpath/ZipArchiveFileLookup.scala b/compiler/src/dotty/tools/dotc/classpath/ZipArchiveFileLookup.scala index 42226e9a3b8f..05b489d89aa7 100644 --- a/compiler/src/dotty/tools/dotc/classpath/ZipArchiveFileLookup.scala +++ b/compiler/src/dotty/tools/dotc/classpath/ZipArchiveFileLookup.scala @@ -1,6 +1,15 @@ /* - * Copyright (c) 2014 Contributor. All rights reserved. + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.classpath import java.io.File diff --git a/compiler/src/dotty/tools/dotc/config/CommandLineParser.scala b/compiler/src/dotty/tools/dotc/config/CommandLineParser.scala index c8304010e1b1..0dcc6cfa24b2 100644 --- a/compiler/src/dotty/tools/dotc/config/CommandLineParser.scala +++ b/compiler/src/dotty/tools/dotc/config/CommandLineParser.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala b/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala index c99724b4d024..02bd3b9d3273 100644 --- a/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala +++ b/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/Config.scala b/compiler/src/dotty/tools/dotc/config/Config.scala index 4366ac45170f..3d8a5d3b2e85 100644 --- a/compiler/src/dotty/tools/dotc/config/Config.scala +++ b/compiler/src/dotty/tools/dotc/config/Config.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.config object Config { diff --git a/compiler/src/dotty/tools/dotc/config/JavaPlatform.scala b/compiler/src/dotty/tools/dotc/config/JavaPlatform.scala index cbcf3c703f1d..1ac96d18a71d 100644 --- a/compiler/src/dotty/tools/dotc/config/JavaPlatform.scala +++ b/compiler/src/dotty/tools/dotc/config/JavaPlatform.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/OutputDirs.scala b/compiler/src/dotty/tools/dotc/config/OutputDirs.scala index 7f158b0e3230..a710aebbf0f3 100644 --- a/compiler/src/dotty/tools/dotc/config/OutputDirs.scala +++ b/compiler/src/dotty/tools/dotc/config/OutputDirs.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/PathResolver.scala b/compiler/src/dotty/tools/dotc/config/PathResolver.scala index 943431566aa8..2f51e9a68c3a 100644 --- a/compiler/src/dotty/tools/dotc/config/PathResolver.scala +++ b/compiler/src/dotty/tools/dotc/config/PathResolver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/Platform.scala b/compiler/src/dotty/tools/dotc/config/Platform.scala index 71e0d9cd107c..61412f85fd52 100644 --- a/compiler/src/dotty/tools/dotc/config/Platform.scala +++ b/compiler/src/dotty/tools/dotc/config/Platform.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2012 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools diff --git a/compiler/src/dotty/tools/dotc/config/Printers.scala b/compiler/src/dotty/tools/dotc/config/Printers.scala index 74739b612ff9..b2c1156f9196 100644 --- a/compiler/src/dotty/tools/dotc/config/Printers.scala +++ b/compiler/src/dotty/tools/dotc/config/Printers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.config object Printers { diff --git a/compiler/src/dotty/tools/dotc/config/Properties.scala b/compiler/src/dotty/tools/dotc/config/Properties.scala index c025685d1801..37f5f8aa4c4c 100644 --- a/compiler/src/dotty/tools/dotc/config/Properties.scala +++ b/compiler/src/dotty/tools/dotc/config/Properties.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/SJSPlatform.scala b/compiler/src/dotty/tools/dotc/config/SJSPlatform.scala index 3ec8049aeb5b..159209fbd461 100644 --- a/compiler/src/dotty/tools/dotc/config/SJSPlatform.scala +++ b/compiler/src/dotty/tools/dotc/config/SJSPlatform.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.config import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala index 15cd9ef325ac..d327e37d0b62 100644 --- a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala +++ b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/ScalaVersion.scala b/compiler/src/dotty/tools/dotc/config/ScalaVersion.scala index 8ba3dce8306a..a7a6f211c5d1 100644 --- a/compiler/src/dotty/tools/dotc/config/ScalaVersion.scala +++ b/compiler/src/dotty/tools/dotc/config/ScalaVersion.scala @@ -1,5 +1,15 @@ -/* @author James Iry +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools package dotc.config diff --git a/compiler/src/dotty/tools/dotc/config/Settings.scala b/compiler/src/dotty/tools/dotc/config/Settings.scala index 8ba6c8786b6f..1c2342001b93 100644 --- a/compiler/src/dotty/tools/dotc/config/Settings.scala +++ b/compiler/src/dotty/tools/dotc/config/Settings.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package config diff --git a/compiler/src/dotty/tools/dotc/config/WrappedProperties.scala b/compiler/src/dotty/tools/dotc/config/WrappedProperties.scala index e80052872e7c..e111c6a8575e 100644 --- a/compiler/src/dotty/tools/dotc/config/WrappedProperties.scala +++ b/compiler/src/dotty/tools/dotc/config/WrappedProperties.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package config diff --git a/compiler/src/dotty/tools/dotc/consumetasty/ConsumeTasty.scala b/compiler/src/dotty/tools/dotc/consumetasty/ConsumeTasty.scala index cd8946ea8cfe..e3d15d955401 100644 --- a/compiler/src/dotty/tools/dotc/consumetasty/ConsumeTasty.scala +++ b/compiler/src/dotty/tools/dotc/consumetasty/ConsumeTasty.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.consumetasty import dotty.tools.dotc diff --git a/compiler/src/dotty/tools/dotc/consumetasty/TastyConsumerPhase.scala b/compiler/src/dotty/tools/dotc/consumetasty/TastyConsumerPhase.scala index d57249090eae..6c31a10a85a9 100644 --- a/compiler/src/dotty/tools/dotc/consumetasty/TastyConsumerPhase.scala +++ b/compiler/src/dotty/tools/dotc/consumetasty/TastyConsumerPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.consumetasty import dotty.tools.dotc.core.Contexts._ diff --git a/compiler/src/dotty/tools/dotc/consumetasty/TastyFromClass.scala b/compiler/src/dotty/tools/dotc/consumetasty/TastyFromClass.scala index c5e5e98d810e..dbb063f21ac7 100644 --- a/compiler/src/dotty/tools/dotc/consumetasty/TastyFromClass.scala +++ b/compiler/src/dotty/tools/dotc/consumetasty/TastyFromClass.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.consumetasty import dotty.tools.dotc.core.Phases.Phase diff --git a/compiler/src/dotty/tools/dotc/core/Annotations.scala b/compiler/src/dotty/tools/dotc/core/Annotations.scala index 6a081898ed03..cbd6b0f2fdd9 100644 --- a/compiler/src/dotty/tools/dotc/core/Annotations.scala +++ b/compiler/src/dotty/tools/dotc/core/Annotations.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/CheckRealizable.scala b/compiler/src/dotty/tools/dotc/core/CheckRealizable.scala index 57dc1bcb5af9..0c2da97ec8cb 100644 --- a/compiler/src/dotty/tools/dotc/core/CheckRealizable.scala +++ b/compiler/src/dotty/tools/dotc/core/CheckRealizable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Comments.scala b/compiler/src/dotty/tools/dotc/core/Comments.scala index 6bb489550012..582b19a81772 100644 --- a/compiler/src/dotty/tools/dotc/core/Comments.scala +++ b/compiler/src/dotty/tools/dotc/core/Comments.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Constants.scala b/compiler/src/dotty/tools/dotc/core/Constants.scala index 048fca394c95..3f0cce263e79 100644 --- a/compiler/src/dotty/tools/dotc/core/Constants.scala +++ b/compiler/src/dotty/tools/dotc/core/Constants.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Constraint.scala b/compiler/src/dotty/tools/dotc/core/Constraint.scala index 946a19b24d30..9bd95873b85a 100644 --- a/compiler/src/dotty/tools/dotc/core/Constraint.scala +++ b/compiler/src/dotty/tools/dotc/core/Constraint.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/ConstraintHandling.scala b/compiler/src/dotty/tools/dotc/core/ConstraintHandling.scala index e8e7b534dc3e..8c2532422fe9 100644 --- a/compiler/src/dotty/tools/dotc/core/ConstraintHandling.scala +++ b/compiler/src/dotty/tools/dotc/core/ConstraintHandling.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/ConstraintRunInfo.scala b/compiler/src/dotty/tools/dotc/core/ConstraintRunInfo.scala index e6caae72bdde..c770ae2ab2cc 100644 --- a/compiler/src/dotty/tools/dotc/core/ConstraintRunInfo.scala +++ b/compiler/src/dotty/tools/dotc/core/ConstraintRunInfo.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Contexts.scala b/compiler/src/dotty/tools/dotc/core/Contexts.scala index b212e3cbfcfb..8d3e69854943 100644 --- a/compiler/src/dotty/tools/dotc/core/Contexts.scala +++ b/compiler/src/dotty/tools/dotc/core/Contexts.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Decorators.scala b/compiler/src/dotty/tools/dotc/core/Decorators.scala index 601665468bbe..98b034c768fe 100644 --- a/compiler/src/dotty/tools/dotc/core/Decorators.scala +++ b/compiler/src/dotty/tools/dotc/core/Decorators.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Definitions.scala b/compiler/src/dotty/tools/dotc/core/Definitions.scala index 03a4631e8c25..0d3b99c4d553 100644 --- a/compiler/src/dotty/tools/dotc/core/Definitions.scala +++ b/compiler/src/dotty/tools/dotc/core/Definitions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/DenotTransformers.scala b/compiler/src/dotty/tools/dotc/core/DenotTransformers.scala index f8ea4fde1104..338ca4fbedac 100644 --- a/compiler/src/dotty/tools/dotc/core/DenotTransformers.scala +++ b/compiler/src/dotty/tools/dotc/core/DenotTransformers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Denotations.scala b/compiler/src/dotty/tools/dotc/core/Denotations.scala index 243d4026725a..f80e6cebe102 100644 --- a/compiler/src/dotty/tools/dotc/core/Denotations.scala +++ b/compiler/src/dotty/tools/dotc/core/Denotations.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Flags.scala b/compiler/src/dotty/tools/dotc/core/Flags.scala index 26a71b41747b..d280ed38322a 100644 --- a/compiler/src/dotty/tools/dotc/core/Flags.scala +++ b/compiler/src/dotty/tools/dotc/core/Flags.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Hashable.scala b/compiler/src/dotty/tools/dotc/core/Hashable.scala index d554aaecbb58..3207d0ae8458 100644 --- a/compiler/src/dotty/tools/dotc/core/Hashable.scala +++ b/compiler/src/dotty/tools/dotc/core/Hashable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Mode.scala b/compiler/src/dotty/tools/dotc/core/Mode.scala index 311428e905b2..9814da68acc2 100644 --- a/compiler/src/dotty/tools/dotc/core/Mode.scala +++ b/compiler/src/dotty/tools/dotc/core/Mode.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core /** A collection of mode bits that are part of a context */ diff --git a/compiler/src/dotty/tools/dotc/core/NameKinds.scala b/compiler/src/dotty/tools/dotc/core/NameKinds.scala index 42955de15a50..be8fbecc9e80 100644 --- a/compiler/src/dotty/tools/dotc/core/NameKinds.scala +++ b/compiler/src/dotty/tools/dotc/core/NameKinds.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/NameOps.scala b/compiler/src/dotty/tools/dotc/core/NameOps.scala index 9de9dff9cebb..904f6b6b55ef 100644 --- a/compiler/src/dotty/tools/dotc/core/NameOps.scala +++ b/compiler/src/dotty/tools/dotc/core/NameOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/NameTags.scala b/compiler/src/dotty/tools/dotc/core/NameTags.scala index f5c2923ffb11..aaabb6e319f6 100644 --- a/compiler/src/dotty/tools/dotc/core/NameTags.scala +++ b/compiler/src/dotty/tools/dotc/core/NameTags.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Names.scala b/compiler/src/dotty/tools/dotc/core/Names.scala index 8b1975f6d1fd..ae18ed6afc56 100644 --- a/compiler/src/dotty/tools/dotc/core/Names.scala +++ b/compiler/src/dotty/tools/dotc/core/Names.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/OrderingConstraint.scala b/compiler/src/dotty/tools/dotc/core/OrderingConstraint.scala index c86ce2a271bc..be5e7b7b0861 100644 --- a/compiler/src/dotty/tools/dotc/core/OrderingConstraint.scala +++ b/compiler/src/dotty/tools/dotc/core/OrderingConstraint.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/ParamInfo.scala b/compiler/src/dotty/tools/dotc/core/ParamInfo.scala index ba28e3bc2efc..347e19c3522b 100644 --- a/compiler/src/dotty/tools/dotc/core/ParamInfo.scala +++ b/compiler/src/dotty/tools/dotc/core/ParamInfo.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core import Names.Name diff --git a/compiler/src/dotty/tools/dotc/core/Periods.scala b/compiler/src/dotty/tools/dotc/core/Periods.scala index be704dfcda8e..02d5f7cb55b6 100644 --- a/compiler/src/dotty/tools/dotc/core/Periods.scala +++ b/compiler/src/dotty/tools/dotc/core/Periods.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core import Contexts._ diff --git a/compiler/src/dotty/tools/dotc/core/Phases.scala b/compiler/src/dotty/tools/dotc/core/Phases.scala index 60fcbe2acdb8..62b7335e265a 100644 --- a/compiler/src/dotty/tools/dotc/core/Phases.scala +++ b/compiler/src/dotty/tools/dotc/core/Phases.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Scopes.scala b/compiler/src/dotty/tools/dotc/core/Scopes.scala index 4ed90ed7bfdd..e3b724d078bc 100644 --- a/compiler/src/dotty/tools/dotc/core/Scopes.scala +++ b/compiler/src/dotty/tools/dotc/core/Scopes.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2012 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools diff --git a/compiler/src/dotty/tools/dotc/core/Signature.scala b/compiler/src/dotty/tools/dotc/core/Signature.scala index d52593fbb950..a0ab3db5dbe4 100644 --- a/compiler/src/dotty/tools/dotc/core/Signature.scala +++ b/compiler/src/dotty/tools/dotc/core/Signature.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/StdNames.scala b/compiler/src/dotty/tools/dotc/core/StdNames.scala index f618a91271c6..88e83a481c37 100644 --- a/compiler/src/dotty/tools/dotc/core/StdNames.scala +++ b/compiler/src/dotty/tools/dotc/core/StdNames.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Substituters.scala b/compiler/src/dotty/tools/dotc/core/Substituters.scala index ab07a4d568fd..94dd78a667e0 100644 --- a/compiler/src/dotty/tools/dotc/core/Substituters.scala +++ b/compiler/src/dotty/tools/dotc/core/Substituters.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core import Types._, Symbols._, Contexts._ diff --git a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala index 9e08f4c4f821..d12b85f95294 100644 --- a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala b/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala index 1f849ccd3e65..676c3737ac6f 100644 --- a/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala +++ b/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Symbols.scala b/compiler/src/dotty/tools/dotc/core/Symbols.scala index 616970c9d373..fbabf20ec7fe 100644 --- a/compiler/src/dotty/tools/dotc/core/Symbols.scala +++ b/compiler/src/dotty/tools/dotc/core/Symbols.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/TypeApplications.scala b/compiler/src/dotty/tools/dotc/core/TypeApplications.scala index c38b777a3b20..bdad16fb83f3 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeApplications.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/TypeComparer.scala b/compiler/src/dotty/tools/dotc/core/TypeComparer.scala index f50d1a9a9896..c01a234967cb 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeComparer.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeComparer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/TypeErasure.scala b/compiler/src/dotty/tools/dotc/core/TypeErasure.scala index 9318c9e063b2..f7fd5c900d8b 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeErasure.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeErasure.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/TypeErrors.scala b/compiler/src/dotty/tools/dotc/core/TypeErrors.scala index 9dd987779843..b3bfea7a9a31 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeErrors.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeErrors.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/TypeOps.scala b/compiler/src/dotty/tools/dotc/core/TypeOps.scala index aa6ce6207706..5e7269643a53 100644 --- a/compiler/src/dotty/tools/dotc/core/TypeOps.scala +++ b/compiler/src/dotty/tools/dotc/core/TypeOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/TyperState.scala b/compiler/src/dotty/tools/dotc/core/TyperState.scala index 83efc1329350..1db920090c8b 100644 --- a/compiler/src/dotty/tools/dotc/core/TyperState.scala +++ b/compiler/src/dotty/tools/dotc/core/TyperState.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala index c52b244d1671..e7fb0ca62f6e 100644 --- a/compiler/src/dotty/tools/dotc/core/Types.scala +++ b/compiler/src/dotty/tools/dotc/core/Types.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/Uniques.scala b/compiler/src/dotty/tools/dotc/core/Uniques.scala index 1bb6db5baeec..bc992cba963b 100644 --- a/compiler/src/dotty/tools/dotc/core/Uniques.scala +++ b/compiler/src/dotty/tools/dotc/core/Uniques.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/classfile/AbstractFileReader.scala b/compiler/src/dotty/tools/dotc/core/classfile/AbstractFileReader.scala index cad3a4132393..210bd99eafd7 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/AbstractFileReader.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/AbstractFileReader.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/classfile/ByteCodecs.scala b/compiler/src/dotty/tools/dotc/core/classfile/ByteCodecs.scala index badd9e5603b3..885e0052ebe6 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/ByteCodecs.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/ByteCodecs.scala @@ -1,10 +1,15 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2007-2011, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.classfile object ByteCodecs { diff --git a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileConstants.scala b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileConstants.scala index 02cebe2541ab..b0723fae83a0 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileConstants.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileConstants.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package classfile diff --git a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala index 508794fc8a7b..1579a1a25936 100644 --- a/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala +++ b/compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala b/compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala index 585d4129734a..d0473d530794 100644 --- a/compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala +++ b/compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.quoted import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/dotc/core/quoted/QuoteUnpickler.scala b/compiler/src/dotty/tools/dotc/core/quoted/QuoteUnpickler.scala index 7a01d611a94b..6b8f38af2c7a 100644 --- a/compiler/src/dotty/tools/dotc/core/quoted/QuoteUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/quoted/QuoteUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.quoted import dotty.tools.dotc.core.tasty._ diff --git a/compiler/src/dotty/tools/dotc/core/quoted/Quoted.scala b/compiler/src/dotty/tools/dotc/core/quoted/Quoted.scala index db2b6ecf50ff..0e0b95e5c85a 100644 --- a/compiler/src/dotty/tools/dotc/core/quoted/Quoted.scala +++ b/compiler/src/dotty/tools/dotc/core/quoted/Quoted.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.quoted import dotty.tools.dotc.ast.Trees.GenericApply diff --git a/compiler/src/dotty/tools/dotc/core/tasty/CommentPickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/CommentPickler.scala index 5fa2272d39e7..303d097f1439 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/CommentPickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/CommentPickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.tasty import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/core/tasty/CommentUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/CommentUnpickler.scala index 0dfe01f6ea12..b47824bba40c 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/CommentUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/CommentUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.tasty import dotty.tools.dotc.core.Comments.Comment diff --git a/compiler/src/dotty/tools/dotc/core/tasty/DottyUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/DottyUnpickler.scala index 57125fed3e65..d6d599bde5ae 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/DottyUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/DottyUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/NameBuffer.scala b/compiler/src/dotty/tools/dotc/core/tasty/NameBuffer.scala index edab7045095a..cff7c29269e9 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/NameBuffer.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/NameBuffer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/PositionPickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/PositionPickler.scala index 2af9e393500b..1c87068cb7d7 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/PositionPickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/PositionPickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/PositionUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/PositionUnpickler.scala index 1e1031cb9e6f..4c8e0df1cfc5 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/PositionUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/PositionUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala index e494b4381186..09ace4029eb3 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyClassName.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyClassName.scala index ab7ead709560..64720573ad35 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyClassName.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyClassName.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package tasty diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyFormat.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyFormat.scala index 9172fc2049e9..92694f42bc41 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyFormat.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyFormat.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package tasty diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyHTMLPrinter.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyHTMLPrinter.scala index 4366ce29f76b..e2549ba972b0 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyHTMLPrinter.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyHTMLPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package tasty diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyHash.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyHash.scala index 6845f36fcf06..c96a6aadf910 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyHash.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyHash.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.tasty object TastyHash { diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyHeaderUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyHeaderUnpickler.scala index d06436e5af77..934d1eb27c9b 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyHeaderUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyHeaderUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package tasty diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyPickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyPickler.scala index b51af96b9720..e8f9d8ebcb30 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyPickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyPickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala index 22ec8bfd8c74..ff674bcb9833 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package tasty diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyReader.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyReader.scala index b90546d61d47..30ca52906b84 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyReader.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyReader.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyString.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyString.scala index 8450ee1f1a4c..cd34dd637c8c 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyString.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyString.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.core.tasty import scala.runtime.quoted.Unpickler.Pickled diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyUnpickler.scala index a849b467f7e7..7aff188b5b69 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TastyUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package core package tasty diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala index 8afedec37b2b..f50db3ee5227 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala index 950863fa565f..a1735be1c830 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala index bc8a8cc53595..780b77672329 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala b/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala index f96d3348ec11..430140dd22c1 100644 --- a/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala +++ b/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleFormat.scala b/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleFormat.scala index f50e53d6b882..1734820b5906 100644 --- a/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleFormat.scala +++ b/compiler/src/dotty/tools/dotc/core/unpickleScala2/PickleFormat.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Flags.scala b/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Flags.scala index 5025a7a54997..1946dcd01d51 100644 --- a/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Flags.scala +++ b/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Flags.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools diff --git a/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala b/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala index d1297623da83..8403834736fb 100644 --- a/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package core diff --git a/compiler/src/dotty/tools/dotc/decompiler/DecompilationPrinter.scala b/compiler/src/dotty/tools/dotc/decompiler/DecompilationPrinter.scala index 34acbd255d76..3c5376421ead 100644 --- a/compiler/src/dotty/tools/dotc/decompiler/DecompilationPrinter.scala +++ b/compiler/src/dotty/tools/dotc/decompiler/DecompilationPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package decompiler diff --git a/compiler/src/dotty/tools/dotc/decompiler/IDEDecompilerDriver.scala b/compiler/src/dotty/tools/dotc/decompiler/IDEDecompilerDriver.scala index ae4541865c80..84e5279c8d47 100644 --- a/compiler/src/dotty/tools/dotc/decompiler/IDEDecompilerDriver.scala +++ b/compiler/src/dotty/tools/dotc/decompiler/IDEDecompilerDriver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package decompiler diff --git a/compiler/src/dotty/tools/dotc/decompiler/Main.scala b/compiler/src/dotty/tools/dotc/decompiler/Main.scala index dd7cd8d00b15..7cb96a7cbeea 100644 --- a/compiler/src/dotty/tools/dotc/decompiler/Main.scala +++ b/compiler/src/dotty/tools/dotc/decompiler/Main.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.decompiler import java.nio.file.Files diff --git a/compiler/src/dotty/tools/dotc/decompiler/PartialTASTYDecompiler.scala b/compiler/src/dotty/tools/dotc/decompiler/PartialTASTYDecompiler.scala index 62bf158d0ef6..ad01c181433a 100644 --- a/compiler/src/dotty/tools/dotc/decompiler/PartialTASTYDecompiler.scala +++ b/compiler/src/dotty/tools/dotc/decompiler/PartialTASTYDecompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.decompiler import dotty.tools.dotc.core.Phases.Phase diff --git a/compiler/src/dotty/tools/dotc/decompiler/TASTYDecompiler.scala b/compiler/src/dotty/tools/dotc/decompiler/TASTYDecompiler.scala index 62f3e75d2001..c505bdcb989f 100644 --- a/compiler/src/dotty/tools/dotc/decompiler/TASTYDecompiler.scala +++ b/compiler/src/dotty/tools/dotc/decompiler/TASTYDecompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.decompiler import dotty.tools.dotc.fromtasty._ diff --git a/compiler/src/dotty/tools/dotc/fromtasty/Debug.scala b/compiler/src/dotty/tools/dotc/fromtasty/Debug.scala index f2d9adca1e50..01c44f727421 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/Debug.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/Debug.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package fromtasty diff --git a/compiler/src/dotty/tools/dotc/fromtasty/ReadTasty.scala b/compiler/src/dotty/tools/dotc/fromtasty/ReadTasty.scala index 13fac7bbc19d..690f7d14e743 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/ReadTasty.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/ReadTasty.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package fromtasty diff --git a/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompilationUnit.scala b/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompilationUnit.scala index 77021efa3050..0d869ed3f7f7 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompilationUnit.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompilationUnit.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.fromtasty import dotty.tools.dotc.CompilationUnit diff --git a/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala b/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala index 649580dcf772..e3dcc084e9a9 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package fromtasty diff --git a/compiler/src/dotty/tools/dotc/fromtasty/TASTYRun.scala b/compiler/src/dotty/tools/dotc/fromtasty/TASTYRun.scala index 09d4d03c4e5c..ce87aab26b82 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/TASTYRun.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/TASTYRun.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package fromtasty diff --git a/compiler/src/dotty/tools/dotc/fromtasty/TastyFileUtil.scala b/compiler/src/dotty/tools/dotc/fromtasty/TastyFileUtil.scala index d67175137925..d34539f1b61b 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/TastyFileUtil.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/TastyFileUtil.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package fromtasty diff --git a/compiler/src/dotty/tools/dotc/interactive/Completion.scala b/compiler/src/dotty/tools/dotc/interactive/Completion.scala index 5060aae3d2fb..0540a795bf6b 100644 --- a/compiler/src/dotty/tools/dotc/interactive/Completion.scala +++ b/compiler/src/dotty/tools/dotc/interactive/Completion.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interactive import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/dotc/interactive/Interactive.scala b/compiler/src/dotty/tools/dotc/interactive/Interactive.scala index 797bf77f1e8e..38290ddd9342 100644 --- a/compiler/src/dotty/tools/dotc/interactive/Interactive.scala +++ b/compiler/src/dotty/tools/dotc/interactive/Interactive.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package interactive diff --git a/compiler/src/dotty/tools/dotc/interactive/InteractiveCompiler.scala b/compiler/src/dotty/tools/dotc/interactive/InteractiveCompiler.scala index b3ef40dec8a3..463855dcfd33 100644 --- a/compiler/src/dotty/tools/dotc/interactive/InteractiveCompiler.scala +++ b/compiler/src/dotty/tools/dotc/interactive/InteractiveCompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package interactive diff --git a/compiler/src/dotty/tools/dotc/interactive/InteractiveDriver.scala b/compiler/src/dotty/tools/dotc/interactive/InteractiveDriver.scala index df4aef1b8f66..28654d6875d1 100644 --- a/compiler/src/dotty/tools/dotc/interactive/InteractiveDriver.scala +++ b/compiler/src/dotty/tools/dotc/interactive/InteractiveDriver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package interactive diff --git a/compiler/src/dotty/tools/dotc/interactive/SourceTree.scala b/compiler/src/dotty/tools/dotc/interactive/SourceTree.scala index 3c8a51617723..8a32b053bc82 100644 --- a/compiler/src/dotty/tools/dotc/interactive/SourceTree.scala +++ b/compiler/src/dotty/tools/dotc/interactive/SourceTree.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package interactive diff --git a/compiler/src/dotty/tools/dotc/parsing/CharArrayReader.scala b/compiler/src/dotty/tools/dotc/parsing/CharArrayReader.scala index 1d07b99ea07e..8e2b86d1bb6a 100644 --- a/compiler/src/dotty/tools/dotc/parsing/CharArrayReader.scala +++ b/compiler/src/dotty/tools/dotc/parsing/CharArrayReader.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala b/compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala index e16d27ce06af..d6eace83ba3c 100644 --- a/compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala +++ b/compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/JavaScanners.scala b/compiler/src/dotty/tools/dotc/parsing/JavaScanners.scala index 34c8120921f3..d8b0ef60a3ff 100644 --- a/compiler/src/dotty/tools/dotc/parsing/JavaScanners.scala +++ b/compiler/src/dotty/tools/dotc/parsing/JavaScanners.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/JavaTokens.scala b/compiler/src/dotty/tools/dotc/parsing/JavaTokens.scala index 79dd549cdf0d..43beab90f241 100644 --- a/compiler/src/dotty/tools/dotc/parsing/JavaTokens.scala +++ b/compiler/src/dotty/tools/dotc/parsing/JavaTokens.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/Parsers.scala b/compiler/src/dotty/tools/dotc/parsing/Parsers.scala index c62e47c0ad44..0f3aa10e3ae1 100644 --- a/compiler/src/dotty/tools/dotc/parsing/Parsers.scala +++ b/compiler/src/dotty/tools/dotc/parsing/Parsers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/Scanners.scala b/compiler/src/dotty/tools/dotc/parsing/Scanners.scala index 193c4d74d977..b194c4001512 100644 --- a/compiler/src/dotty/tools/dotc/parsing/Scanners.scala +++ b/compiler/src/dotty/tools/dotc/parsing/Scanners.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/ScriptParsers.scala b/compiler/src/dotty/tools/dotc/parsing/ScriptParsers.scala index afa7fefab860..b9c5a9b3b1be 100644 --- a/compiler/src/dotty/tools/dotc/parsing/ScriptParsers.scala +++ b/compiler/src/dotty/tools/dotc/parsing/ScriptParsers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/Tokens.scala b/compiler/src/dotty/tools/dotc/parsing/Tokens.scala index b9afcf03aa71..c89c4ea6b4e5 100644 --- a/compiler/src/dotty/tools/dotc/parsing/Tokens.scala +++ b/compiler/src/dotty/tools/dotc/parsing/Tokens.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/package.scala b/compiler/src/dotty/tools/dotc/parsing/package.scala index 4871d1b893c1..fdc2df7a8797 100644 --- a/compiler/src/dotty/tools/dotc/parsing/package.scala +++ b/compiler/src/dotty/tools/dotc/parsing/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc import scala.tasty.util.Chars._ diff --git a/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParserCommon.scala b/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParserCommon.scala index a7a22d1cee34..8f2ce834c5fa 100644 --- a/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParserCommon.scala +++ b/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParserCommon.scala @@ -1,10 +1,15 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package parsing package xml diff --git a/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParsers.scala b/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParsers.scala index 0f0a0d36bf53..802e679a124e 100644 --- a/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParsers.scala +++ b/compiler/src/dotty/tools/dotc/parsing/xml/MarkupParsers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala b/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala index 32a2bbbc714e..53a324c2a651 100644 --- a/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala +++ b/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package parsing diff --git a/compiler/src/dotty/tools/dotc/parsing/xml/Utility.scala b/compiler/src/dotty/tools/dotc/parsing/xml/Utility.scala index ad2a5fe54758..4f8e650256eb 100644 --- a/compiler/src/dotty/tools/dotc/parsing/xml/Utility.scala +++ b/compiler/src/dotty/tools/dotc/parsing/xml/Utility.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package parsing package xml diff --git a/compiler/src/dotty/tools/dotc/plugins/Plugin.scala b/compiler/src/dotty/tools/dotc/plugins/Plugin.scala index b4bfe0a65e85..381b1e3dd47f 100644 --- a/compiler/src/dotty/tools/dotc/plugins/Plugin.scala +++ b/compiler/src/dotty/tools/dotc/plugins/Plugin.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package plugins diff --git a/compiler/src/dotty/tools/dotc/plugins/Plugins.scala b/compiler/src/dotty/tools/dotc/plugins/Plugins.scala index 734208ce51be..82630470556f 100644 --- a/compiler/src/dotty/tools/dotc/plugins/Plugins.scala +++ b/compiler/src/dotty/tools/dotc/plugins/Plugins.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package plugins diff --git a/compiler/src/dotty/tools/dotc/printing/DecompilerPrinter.scala b/compiler/src/dotty/tools/dotc/printing/DecompilerPrinter.scala index 9630bdc98c87..f589f146c110 100644 --- a/compiler/src/dotty/tools/dotc/printing/DecompilerPrinter.scala +++ b/compiler/src/dotty/tools/dotc/printing/DecompilerPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.printing import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/dotc/printing/Formatting.scala b/compiler/src/dotty/tools/dotc/printing/Formatting.scala index 7c2150736969..bd2f7b0d7c22 100644 --- a/compiler/src/dotty/tools/dotc/printing/Formatting.scala +++ b/compiler/src/dotty/tools/dotc/printing/Formatting.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/Highlighting.scala b/compiler/src/dotty/tools/dotc/printing/Highlighting.scala index 7b84b61f99f7..0961f828158b 100644 --- a/compiler/src/dotty/tools/dotc/printing/Highlighting.scala +++ b/compiler/src/dotty/tools/dotc/printing/Highlighting.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala b/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala index 4255a8a175f7..9da4e2aaadbb 100644 --- a/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala +++ b/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/Printer.scala b/compiler/src/dotty/tools/dotc/printing/Printer.scala index e0820d11119f..54ce7a90c511 100644 --- a/compiler/src/dotty/tools/dotc/printing/Printer.scala +++ b/compiler/src/dotty/tools/dotc/printing/Printer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/Printers.scala b/compiler/src/dotty/tools/dotc/printing/Printers.scala index 1dc286ba590b..dd141a1c4105 100644 --- a/compiler/src/dotty/tools/dotc/printing/Printers.scala +++ b/compiler/src/dotty/tools/dotc/printing/Printers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala b/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala index 849c0c5d7826..45ca5c379c1c 100644 --- a/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala +++ b/compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/ReplPrinter.scala b/compiler/src/dotty/tools/dotc/printing/ReplPrinter.scala index 526e32fd07e8..b6cb704012c2 100644 --- a/compiler/src/dotty/tools/dotc/printing/ReplPrinter.scala +++ b/compiler/src/dotty/tools/dotc/printing/ReplPrinter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.printing import dotty.tools.dotc.core.Constants diff --git a/compiler/src/dotty/tools/dotc/printing/Showable.scala b/compiler/src/dotty/tools/dotc/printing/Showable.scala index 550d80060a15..6e855c7245aa 100644 --- a/compiler/src/dotty/tools/dotc/printing/Showable.scala +++ b/compiler/src/dotty/tools/dotc/printing/Showable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package printing diff --git a/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala b/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala index 989a3804e23a..6433015545f8 100644 --- a/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala +++ b/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.printing import dotty.tools.dotc.ast.untpd diff --git a/compiler/src/dotty/tools/dotc/printing/Texts.scala b/compiler/src/dotty/tools/dotc/printing/Texts.scala index 20d01151a144..aeb5d90f6402 100644 --- a/compiler/src/dotty/tools/dotc/printing/Texts.scala +++ b/compiler/src/dotty/tools/dotc/printing/Texts.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package printing import language.implicitConversions diff --git a/compiler/src/dotty/tools/dotc/printing/package.scala b/compiler/src/dotty/tools/dotc/printing/package.scala index 246bbd206d5e..632888a871d3 100644 --- a/compiler/src/dotty/tools/dotc/printing/package.scala +++ b/compiler/src/dotty/tools/dotc/printing/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc import core.StdNames.{nme,tpnme} diff --git a/compiler/src/dotty/tools/dotc/profile/AsyncHelper.scala b/compiler/src/dotty/tools/dotc/profile/AsyncHelper.scala index f0f5bbc84441..52da8209da61 100644 --- a/compiler/src/dotty/tools/dotc/profile/AsyncHelper.scala +++ b/compiler/src/dotty/tools/dotc/profile/AsyncHelper.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.profile import java.util.concurrent.ThreadPoolExecutor.AbortPolicy diff --git a/compiler/src/dotty/tools/dotc/profile/ExtendedThreadMxBean.java b/compiler/src/dotty/tools/dotc/profile/ExtendedThreadMxBean.java index 68ae4f148cfd..8c92cb3ea42c 100644 --- a/compiler/src/dotty/tools/dotc/profile/ExtendedThreadMxBean.java +++ b/compiler/src/dotty/tools/dotc/profile/ExtendedThreadMxBean.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.profile; import javax.management.ObjectName; diff --git a/compiler/src/dotty/tools/dotc/profile/ExternalToolHook.java b/compiler/src/dotty/tools/dotc/profile/ExternalToolHook.java index 274be637eb8e..3a3c2a6ab143 100644 --- a/compiler/src/dotty/tools/dotc/profile/ExternalToolHook.java +++ b/compiler/src/dotty/tools/dotc/profile/ExternalToolHook.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.profile; /** diff --git a/compiler/src/dotty/tools/dotc/profile/Profiler.scala b/compiler/src/dotty/tools/dotc/profile/Profiler.scala index ecb9696a7fd5..bd18ffbfa903 100644 --- a/compiler/src/dotty/tools/dotc/profile/Profiler.scala +++ b/compiler/src/dotty/tools/dotc/profile/Profiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.profile import java.io.{FileWriter, PrintWriter} diff --git a/compiler/src/dotty/tools/dotc/quoted/ExprCompilationUnit.scala b/compiler/src/dotty/tools/dotc/quoted/ExprCompilationUnit.scala index 0dffbb82b7a3..da1d82ab02c3 100644 --- a/compiler/src/dotty/tools/dotc/quoted/ExprCompilationUnit.scala +++ b/compiler/src/dotty/tools/dotc/quoted/ExprCompilationUnit.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.CompilationUnit diff --git a/compiler/src/dotty/tools/dotc/quoted/QuoteCompiler.scala b/compiler/src/dotty/tools/dotc/quoted/QuoteCompiler.scala index ad5a81b89f69..90321c92e112 100644 --- a/compiler/src/dotty/tools/dotc/quoted/QuoteCompiler.scala +++ b/compiler/src/dotty/tools/dotc/quoted/QuoteCompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package quoted diff --git a/compiler/src/dotty/tools/dotc/quoted/QuoteDecompiler.scala b/compiler/src/dotty/tools/dotc/quoted/QuoteDecompiler.scala index 431df7aba75f..eaa5510d2dc2 100644 --- a/compiler/src/dotty/tools/dotc/quoted/QuoteDecompiler.scala +++ b/compiler/src/dotty/tools/dotc/quoted/QuoteDecompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/quoted/QuoteDriver.scala b/compiler/src/dotty/tools/dotc/quoted/QuoteDriver.scala index 827e9d424bb2..32f80a164e7f 100644 --- a/compiler/src/dotty/tools/dotc/quoted/QuoteDriver.scala +++ b/compiler/src/dotty/tools/dotc/quoted/QuoteDriver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/quoted/RefreshNames.scala b/compiler/src/dotty/tools/dotc/quoted/RefreshNames.scala index 4b00eb00079e..adf1b34880de 100644 --- a/compiler/src/dotty/tools/dotc/quoted/RefreshNames.scala +++ b/compiler/src/dotty/tools/dotc/quoted/RefreshNames.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/quoted/ToolboxImpl.scala b/compiler/src/dotty/tools/dotc/quoted/ToolboxImpl.scala index 1067caf89a9a..a4d7c24bb294 100644 --- a/compiler/src/dotty/tools/dotc/quoted/ToolboxImpl.scala +++ b/compiler/src/dotty/tools/dotc/quoted/ToolboxImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/quoted/TreeCleaner.scala b/compiler/src/dotty/tools/dotc/quoted/TreeCleaner.scala index 93c203fffb12..188776672d3d 100644 --- a/compiler/src/dotty/tools/dotc/quoted/TreeCleaner.scala +++ b/compiler/src/dotty/tools/dotc/quoted/TreeCleaner.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/dotc/quoted/TypeCompilationUnit.scala b/compiler/src/dotty/tools/dotc/quoted/TypeCompilationUnit.scala index 725e6e366a27..ae3f15855aa9 100644 --- a/compiler/src/dotty/tools/dotc/quoted/TypeCompilationUnit.scala +++ b/compiler/src/dotty/tools/dotc/quoted/TypeCompilationUnit.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.quoted import dotty.tools.dotc.CompilationUnit diff --git a/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala b/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala index 4d775eaa3bc5..4444165823a3 100644 --- a/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala +++ b/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/HideNonSensicalMessages.scala b/compiler/src/dotty/tools/dotc/reporting/HideNonSensicalMessages.scala index ba1ab9b33beb..13d065c283e8 100644 --- a/compiler/src/dotty/tools/dotc/reporting/HideNonSensicalMessages.scala +++ b/compiler/src/dotty/tools/dotc/reporting/HideNonSensicalMessages.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala b/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala index c36f248d8a3a..78bfe957f6e9 100644 --- a/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala +++ b/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/Reporter.scala b/compiler/src/dotty/tools/dotc/reporting/Reporter.scala index ad4a073e46fb..1dabfe025380 100644 --- a/compiler/src/dotty/tools/dotc/reporting/Reporter.scala +++ b/compiler/src/dotty/tools/dotc/reporting/Reporter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/StoreReporter.scala b/compiler/src/dotty/tools/dotc/reporting/StoreReporter.scala index 7707dfd9c5e1..d33268deae1d 100644 --- a/compiler/src/dotty/tools/dotc/reporting/StoreReporter.scala +++ b/compiler/src/dotty/tools/dotc/reporting/StoreReporter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/ThrowingReporter.scala b/compiler/src/dotty/tools/dotc/reporting/ThrowingReporter.scala index 758cc3733ad1..ad97bbb44c6b 100644 --- a/compiler/src/dotty/tools/dotc/reporting/ThrowingReporter.scala +++ b/compiler/src/dotty/tools/dotc/reporting/ThrowingReporter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/UniqueMessagePositions.scala b/compiler/src/dotty/tools/dotc/reporting/UniqueMessagePositions.scala index 4a69f4f6fd56..e309ae5b75e0 100644 --- a/compiler/src/dotty/tools/dotc/reporting/UniqueMessagePositions.scala +++ b/compiler/src/dotty/tools/dotc/reporting/UniqueMessagePositions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/diagnostic/ErrorMessageID.java b/compiler/src/dotty/tools/dotc/reporting/diagnostic/ErrorMessageID.java index c9d60bdb772b..920342af4f4c 100644 --- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/ErrorMessageID.java +++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/ErrorMessageID.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.reporting.diagnostic; /** Unique IDs identifying the messages */ diff --git a/compiler/src/dotty/tools/dotc/reporting/diagnostic/Message.scala b/compiler/src/dotty/tools/dotc/reporting/diagnostic/Message.scala index 48c5deaaa9a2..a1f7963ead9a 100644 --- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/Message.scala +++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/Message.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/diagnostic/MessageContainer.scala b/compiler/src/dotty/tools/dotc/reporting/diagnostic/MessageContainer.scala index a72775c854f3..27cad45eb4cb 100644 --- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/MessageContainer.scala +++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/MessageContainer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala index ef3352126100..766674fa3ebd 100644 --- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala +++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/reporting/trace.scala b/compiler/src/dotty/tools/dotc/reporting/trace.scala index eda7ebe16f97..7c9a83f4625a 100644 --- a/compiler/src/dotty/tools/dotc/reporting/trace.scala +++ b/compiler/src/dotty/tools/dotc/reporting/trace.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package reporting diff --git a/compiler/src/dotty/tools/dotc/rewrites/Rewrites.scala b/compiler/src/dotty/tools/dotc/rewrites/Rewrites.scala index 34b29d7c54bf..1ef8a4e7c795 100644 --- a/compiler/src/dotty/tools/dotc/rewrites/Rewrites.scala +++ b/compiler/src/dotty/tools/dotc/rewrites/Rewrites.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package rewrites diff --git a/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala b/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala index 8634ad928920..d84200c7c556 100644 --- a/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala +++ b/compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package sbt diff --git a/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala b/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala index 22b30e500e6e..e385ceb1940e 100644 --- a/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala +++ b/compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package sbt diff --git a/compiler/src/dotty/tools/dotc/sbt/ShowAPI.scala b/compiler/src/dotty/tools/dotc/sbt/ShowAPI.scala index 110024435977..79202ea51dab 100644 --- a/compiler/src/dotty/tools/dotc/sbt/ShowAPI.scala +++ b/compiler/src/dotty/tools/dotc/sbt/ShowAPI.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + // This file is copied straight from // https://github.com/sbt/sbt/blob/0.13/compile/api/src/main/scala/xsbt/api/ShowAPI.scala // It is convenient to be able to pretty-print the API from Dotty itself to test diff --git a/compiler/src/dotty/tools/dotc/sbt/ThunkHolder.scala b/compiler/src/dotty/tools/dotc/sbt/ThunkHolder.scala index 2315c40955e4..b9046f4000e5 100644 --- a/compiler/src/dotty/tools/dotc/sbt/ThunkHolder.scala +++ b/compiler/src/dotty/tools/dotc/sbt/ThunkHolder.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package sbt diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/CaseDefOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/CaseDefOpsImpl.scala index 60b566c9fae8..07a50dce7fd7 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/CaseDefOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/CaseDefOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/ConstantOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/ConstantOpsImpl.scala index b467f60d04ce..e9b7fe2af2a1 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/ConstantOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/ConstantOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.core.Constants diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/ContextOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/ContextOpsImpl.scala index ef65bb4d9671..c0b1aeb53167 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/ContextOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/ContextOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.util.{Positions, SourcePosition} diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/CoreImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/CoreImpl.scala index 0682c5c5bbfe..2619e2926237 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/CoreImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/CoreImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package tastyreflect diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/FlagsOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/FlagsOpsImpl.scala index 3b0d0f79e957..897d57b5689a 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/FlagsOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/FlagsOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package tastyreflect diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/FromSymbol.scala b/compiler/src/dotty/tools/dotc/tastyreflect/FromSymbol.scala index e327a97fdf52..d676017fe307 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/FromSymbol.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/FromSymbol.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/Helpers.scala b/compiler/src/dotty/tools/dotc/tastyreflect/Helpers.scala index 6c6970f15b88..523136e40153 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/Helpers.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/Helpers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.Trees diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/IdOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/IdOpsImpl.scala index e603babc3eb8..e066da28dc15 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/IdOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/IdOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.core.Decorators._ diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/ImportSelectorOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/ImportSelectorOpsImpl.scala index fc71e87f682e..1885074c4ee5 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/ImportSelectorOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/ImportSelectorOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.{Trees, untpd} diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/PatternOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/PatternOpsImpl.scala index af972be8b896..b412d7619fa9 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/PatternOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/PatternOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.{Trees, tpd, untpd} diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/PositionOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/PositionOpsImpl.scala index 66d3bcac08f9..2271cd644e8c 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/PositionOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/PositionOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect trait PositionOpsImpl extends scala.tasty.reflect.PositionOps with CoreImpl { diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/PrintersImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/PrintersImpl.scala index f5cd53d3dd3f..c200b7794aa3 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/PrintersImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/PrintersImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.core.Flags diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/QuotedOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/QuotedOpsImpl.scala index 0aee5d39f569..a5ba70e5492a 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/QuotedOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/QuotedOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionImpl.scala index 4f3e9cf7a12c..c4facf1fc083 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/ReflectionImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.core._ diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/SettingsOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/SettingsOpsImpl.scala index 9847660aebad..80abefd91ca8 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/SettingsOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/SettingsOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect trait SettingsOpsImpl extends scala.tasty.reflect.SettingsOps with scala.tasty.reflect.ContextOps with CoreImpl { diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/SignatureOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/SignatureOpsImpl.scala index 8eeb857adbcb..0adacc6c2032 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/SignatureOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/SignatureOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect trait SignatureOpsImpl extends scala.tasty.reflect.SignatureOps with CoreImpl { diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/StandardDefinitions.scala b/compiler/src/dotty/tools/dotc/tastyreflect/StandardDefinitions.scala index 667df17c025a..91f73b0c347e 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/StandardDefinitions.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/StandardDefinitions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.core.Symbols._ diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/SymbolOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/SymbolOpsImpl.scala index fcf3da51314a..5f2827893c78 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/SymbolOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/SymbolOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package tastyreflect diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/TreeOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/TreeOpsImpl.scala index 49b221a22947..e2d6653b529a 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/TreeOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/TreeOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.{Trees, tpd, untpd} diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsOpsImpl.scala index 5050997b036b..17ae4a375dd8 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.core.{Contexts, Names, Types} diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsTreesOpsImpl.scala b/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsTreesOpsImpl.scala index 2bf439ba3d28..6de7582cfafd 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsTreesOpsImpl.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/TypeOrBoundsTreesOpsImpl.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.tastyreflect import dotty.tools.dotc.ast.{Trees, tpd} diff --git a/compiler/src/dotty/tools/dotc/tastyreflect/package.scala b/compiler/src/dotty/tools/dotc/tastyreflect/package.scala index d13dc0f322b0..fa1598ec9ddb 100644 --- a/compiler/src/dotty/tools/dotc/tastyreflect/package.scala +++ b/compiler/src/dotty/tools/dotc/tastyreflect/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc import dotty.tools.dotc.ast.Trees.{Tree, Untyped} diff --git a/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala b/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala index 03782a0436bc..7acbb061a70d 100644 --- a/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala +++ b/compiler/src/dotty/tools/dotc/transform/AccessProxies.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ArrayConstructors.scala b/compiler/src/dotty/tools/dotc/transform/ArrayConstructors.scala index b524d060d4a2..80516ec232c5 100644 --- a/compiler/src/dotty/tools/dotc/transform/ArrayConstructors.scala +++ b/compiler/src/dotty/tools/dotc/transform/ArrayConstructors.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/AugmentScala2Traits.scala b/compiler/src/dotty/tools/dotc/transform/AugmentScala2Traits.scala index b1ba4d987131..23c40966e2a3 100644 --- a/compiler/src/dotty/tools/dotc/transform/AugmentScala2Traits.scala +++ b/compiler/src/dotty/tools/dotc/transform/AugmentScala2Traits.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Bridges.scala b/compiler/src/dotty/tools/dotc/transform/Bridges.scala index ca9550f09400..2f9859144229 100644 --- a/compiler/src/dotty/tools/dotc/transform/Bridges.scala +++ b/compiler/src/dotty/tools/dotc/transform/Bridges.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ByNameClosures.scala b/compiler/src/dotty/tools/dotc/transform/ByNameClosures.scala index 8356539f9000..82d41fe6687f 100644 --- a/compiler/src/dotty/tools/dotc/transform/ByNameClosures.scala +++ b/compiler/src/dotty/tools/dotc/transform/ByNameClosures.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/CapturedVars.scala b/compiler/src/dotty/tools/dotc/transform/CapturedVars.scala index 9f03c39f92ac..d0a9a96fd01b 100644 --- a/compiler/src/dotty/tools/dotc/transform/CapturedVars.scala +++ b/compiler/src/dotty/tools/dotc/transform/CapturedVars.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/CheckReentrant.scala b/compiler/src/dotty/tools/dotc/transform/CheckReentrant.scala index a44eac861cea..943c55a1e269 100644 --- a/compiler/src/dotty/tools/dotc/transform/CheckReentrant.scala +++ b/compiler/src/dotty/tools/dotc/transform/CheckReentrant.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala b/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala index 32dc78e0a81c..f99f6b077f0a 100644 --- a/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala +++ b/compiler/src/dotty/tools/dotc/transform/CheckStatic.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ClassOf.scala b/compiler/src/dotty/tools/dotc/transform/ClassOf.scala index 4938d4a993d2..d787d3919c3c 100644 --- a/compiler/src/dotty/tools/dotc/transform/ClassOf.scala +++ b/compiler/src/dotty/tools/dotc/transform/ClassOf.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/CollectEntryPoints.scala b/compiler/src/dotty/tools/dotc/transform/CollectEntryPoints.scala index 8942d7ae6fcb..a938bae7fb06 100644 --- a/compiler/src/dotty/tools/dotc/transform/CollectEntryPoints.scala +++ b/compiler/src/dotty/tools/dotc/transform/CollectEntryPoints.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/transform/CollectNullableFields.scala b/compiler/src/dotty/tools/dotc/transform/CollectNullableFields.scala index bae91bf62417..7862fb460e10 100644 --- a/compiler/src/dotty/tools/dotc/transform/CollectNullableFields.scala +++ b/compiler/src/dotty/tools/dotc/transform/CollectNullableFields.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/transform/Constructors.scala b/compiler/src/dotty/tools/dotc/transform/Constructors.scala index 78c440061db7..6fbb4b8e8bab 100644 --- a/compiler/src/dotty/tools/dotc/transform/Constructors.scala +++ b/compiler/src/dotty/tools/dotc/transform/Constructors.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/CookComments.scala b/compiler/src/dotty/tools/dotc/transform/CookComments.scala index a78f19d878e6..d2d688ca0d60 100644 --- a/compiler/src/dotty/tools/dotc/transform/CookComments.scala +++ b/compiler/src/dotty/tools/dotc/transform/CookComments.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/transform/CrossCastAnd.scala b/compiler/src/dotty/tools/dotc/transform/CrossCastAnd.scala index 6b07073a886e..7950731e2565 100644 --- a/compiler/src/dotty/tools/dotc/transform/CrossCastAnd.scala +++ b/compiler/src/dotty/tools/dotc/transform/CrossCastAnd.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.ast.tpd diff --git a/compiler/src/dotty/tools/dotc/transform/CtxLazy.scala b/compiler/src/dotty/tools/dotc/transform/CtxLazy.scala index a22d24ebbb17..f34ee68c90d4 100644 --- a/compiler/src/dotty/tools/dotc/transform/CtxLazy.scala +++ b/compiler/src/dotty/tools/dotc/transform/CtxLazy.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimByName.scala b/compiler/src/dotty/tools/dotc/transform/ElimByName.scala index e5474439f8dd..53da027d8332 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimByName.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimByName.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimErasedValueType.scala b/compiler/src/dotty/tools/dotc/transform/ElimErasedValueType.scala index d9327f53d145..3ee3e678cf39 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimErasedValueType.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimErasedValueType.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimOpaque.scala b/compiler/src/dotty/tools/dotc/transform/ElimOpaque.scala index 3d022d451833..0ab09ada9da5 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimOpaque.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimOpaque.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimOuterSelect.scala b/compiler/src/dotty/tools/dotc/transform/ElimOuterSelect.scala index 1814e2b282b4..ef5cd59ba400 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimOuterSelect.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimOuterSelect.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimPackagePrefixes.scala b/compiler/src/dotty/tools/dotc/transform/ElimPackagePrefixes.scala index 9cd329fd96b9..b099a25274f2 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimPackagePrefixes.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimPackagePrefixes.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimRepeated.scala b/compiler/src/dotty/tools/dotc/transform/ElimRepeated.scala index 625be403a508..b47bf8a35743 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimRepeated.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimRepeated.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ElimStaticThis.scala b/compiler/src/dotty/tools/dotc/transform/ElimStaticThis.scala index b7ac1a688be4..bb1c5fb3c868 100644 --- a/compiler/src/dotty/tools/dotc/transform/ElimStaticThis.scala +++ b/compiler/src/dotty/tools/dotc/transform/ElimStaticThis.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Erasure.scala b/compiler/src/dotty/tools/dotc/transform/Erasure.scala index bafea790faba..cc46875a07b6 100644 --- a/compiler/src/dotty/tools/dotc/transform/Erasure.scala +++ b/compiler/src/dotty/tools/dotc/transform/Erasure.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ExpandPrivate.scala b/compiler/src/dotty/tools/dotc/transform/ExpandPrivate.scala index 6d945ef05f48..3714c4007408 100644 --- a/compiler/src/dotty/tools/dotc/transform/ExpandPrivate.scala +++ b/compiler/src/dotty/tools/dotc/transform/ExpandPrivate.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ExpandSAMs.scala b/compiler/src/dotty/tools/dotc/transform/ExpandSAMs.scala index 8e207d31ef5f..7c8bbf27bf3d 100644 --- a/compiler/src/dotty/tools/dotc/transform/ExpandSAMs.scala +++ b/compiler/src/dotty/tools/dotc/transform/ExpandSAMs.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ExplicitOuter.scala b/compiler/src/dotty/tools/dotc/transform/ExplicitOuter.scala index 6a7e041e690a..666576db4479 100644 --- a/compiler/src/dotty/tools/dotc/transform/ExplicitOuter.scala +++ b/compiler/src/dotty/tools/dotc/transform/ExplicitOuter.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ExplicitSelf.scala b/compiler/src/dotty/tools/dotc/transform/ExplicitSelf.scala index 7ab625ce2a17..a9c56d4ab38f 100644 --- a/compiler/src/dotty/tools/dotc/transform/ExplicitSelf.scala +++ b/compiler/src/dotty/tools/dotc/transform/ExplicitSelf.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala b/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala index 753baad697ce..eba893858b58 100644 --- a/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala +++ b/compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala @@ -1,7 +1,15 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/FirstTransform.scala b/compiler/src/dotty/tools/dotc/transform/FirstTransform.scala index 6717b3499f05..523f6f685817 100644 --- a/compiler/src/dotty/tools/dotc/transform/FirstTransform.scala +++ b/compiler/src/dotty/tools/dotc/transform/FirstTransform.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Flatten.scala b/compiler/src/dotty/tools/dotc/transform/Flatten.scala index afbb854f542b..61e0f999bfc1 100644 --- a/compiler/src/dotty/tools/dotc/transform/Flatten.scala +++ b/compiler/src/dotty/tools/dotc/transform/Flatten.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/FullParameterization.scala b/compiler/src/dotty/tools/dotc/transform/FullParameterization.scala index bbad627150d4..5a0d3ccfbfa7 100644 --- a/compiler/src/dotty/tools/dotc/transform/FullParameterization.scala +++ b/compiler/src/dotty/tools/dotc/transform/FullParameterization.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/FunctionXXLForwarders.scala b/compiler/src/dotty/tools/dotc/transform/FunctionXXLForwarders.scala index feacc647f917..10335fda0474 100644 --- a/compiler/src/dotty/tools/dotc/transform/FunctionXXLForwarders.scala +++ b/compiler/src/dotty/tools/dotc/transform/FunctionXXLForwarders.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala b/compiler/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala index 94c6b3d233ff..509f804f9fcb 100644 --- a/compiler/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala +++ b/compiler/src/dotty/tools/dotc/transform/FunctionalInterfaces.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala b/compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala index baa1cbe926c5..3318bf236696 100644 --- a/compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala +++ b/compiler/src/dotty/tools/dotc/transform/GenericSignatures.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/GetClass.scala b/compiler/src/dotty/tools/dotc/transform/GetClass.scala index 77ba6d1b618d..aff8917809e4 100644 --- a/compiler/src/dotty/tools/dotc/transform/GetClass.scala +++ b/compiler/src/dotty/tools/dotc/transform/GetClass.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Getters.scala b/compiler/src/dotty/tools/dotc/transform/Getters.scala index 60658f9bc460..f2d63d366849 100644 --- a/compiler/src/dotty/tools/dotc/transform/Getters.scala +++ b/compiler/src/dotty/tools/dotc/transform/Getters.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/HoistSuperArgs.scala b/compiler/src/dotty/tools/dotc/transform/HoistSuperArgs.scala index 302d2330d056..7d1e923efd66 100644 --- a/compiler/src/dotty/tools/dotc/transform/HoistSuperArgs.scala +++ b/compiler/src/dotty/tools/dotc/transform/HoistSuperArgs.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/InterceptedMethods.scala b/compiler/src/dotty/tools/dotc/transform/InterceptedMethods.scala index 2eacd1b010e1..d62df301d528 100644 --- a/compiler/src/dotty/tools/dotc/transform/InterceptedMethods.scala +++ b/compiler/src/dotty/tools/dotc/transform/InterceptedMethods.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/LambdaLift.scala b/compiler/src/dotty/tools/dotc/transform/LambdaLift.scala index 1c90a14f5cf6..01ee42dc1c7f 100644 --- a/compiler/src/dotty/tools/dotc/transform/LambdaLift.scala +++ b/compiler/src/dotty/tools/dotc/transform/LambdaLift.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/LazyVals.scala b/compiler/src/dotty/tools/dotc/transform/LazyVals.scala index 9cd22a639b7a..c3cb396c3d4e 100644 --- a/compiler/src/dotty/tools/dotc/transform/LazyVals.scala +++ b/compiler/src/dotty/tools/dotc/transform/LazyVals.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import java.util.IdentityHashMap diff --git a/compiler/src/dotty/tools/dotc/transform/LiftTry.scala b/compiler/src/dotty/tools/dotc/transform/LiftTry.scala index 5faf20ce7d00..67fdfdf7478b 100644 --- a/compiler/src/dotty/tools/dotc/transform/LiftTry.scala +++ b/compiler/src/dotty/tools/dotc/transform/LiftTry.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/LinkScala2Impls.scala b/compiler/src/dotty/tools/dotc/transform/LinkScala2Impls.scala index d90aa421a52a..995c88556926 100644 --- a/compiler/src/dotty/tools/dotc/transform/LinkScala2Impls.scala +++ b/compiler/src/dotty/tools/dotc/transform/LinkScala2Impls.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/MacroTransform.scala b/compiler/src/dotty/tools/dotc/transform/MacroTransform.scala index e8bb69a12509..9ad0e543a311 100644 --- a/compiler/src/dotty/tools/dotc/transform/MacroTransform.scala +++ b/compiler/src/dotty/tools/dotc/transform/MacroTransform.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/MacroTransformWithImplicits.scala b/compiler/src/dotty/tools/dotc/transform/MacroTransformWithImplicits.scala index d00c9027435b..951045d4a7da 100644 --- a/compiler/src/dotty/tools/dotc/transform/MacroTransformWithImplicits.scala +++ b/compiler/src/dotty/tools/dotc/transform/MacroTransformWithImplicits.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/MegaPhase.scala b/compiler/src/dotty/tools/dotc/transform/MegaPhase.scala index 2af1f915265a..2cbb31498c71 100644 --- a/compiler/src/dotty/tools/dotc/transform/MegaPhase.scala +++ b/compiler/src/dotty/tools/dotc/transform/MegaPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Memoize.scala b/compiler/src/dotty/tools/dotc/transform/Memoize.scala index aa9414f4ffcf..d104ba3b7450 100644 --- a/compiler/src/dotty/tools/dotc/transform/Memoize.scala +++ b/compiler/src/dotty/tools/dotc/transform/Memoize.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Mixin.scala b/compiler/src/dotty/tools/dotc/transform/Mixin.scala index 424b1fbab5b7..1cb488b466b0 100644 --- a/compiler/src/dotty/tools/dotc/transform/Mixin.scala +++ b/compiler/src/dotty/tools/dotc/transform/Mixin.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/MixinOps.scala b/compiler/src/dotty/tools/dotc/transform/MixinOps.scala index 35a6aa1b30f5..ca27df46ccfd 100644 --- a/compiler/src/dotty/tools/dotc/transform/MixinOps.scala +++ b/compiler/src/dotty/tools/dotc/transform/MixinOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala b/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala index 8b06551fb1d4..d43b10aaf1f4 100644 --- a/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala +++ b/compiler/src/dotty/tools/dotc/transform/MoveStatics.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.ast.{Trees, tpd} diff --git a/compiler/src/dotty/tools/dotc/transform/NonLocalReturns.scala b/compiler/src/dotty/tools/dotc/transform/NonLocalReturns.scala index 23c0fb222b6c..7d56443b3f1f 100644 --- a/compiler/src/dotty/tools/dotc/transform/NonLocalReturns.scala +++ b/compiler/src/dotty/tools/dotc/transform/NonLocalReturns.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/OverridingPairs.scala b/compiler/src/dotty/tools/dotc/transform/OverridingPairs.scala index 9f73b4e53ae0..3aa1f863a656 100644 --- a/compiler/src/dotty/tools/dotc/transform/OverridingPairs.scala +++ b/compiler/src/dotty/tools/dotc/transform/OverridingPairs.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ParamForwarding.scala b/compiler/src/dotty/tools/dotc/transform/ParamForwarding.scala index 138fe95114af..662d68ae74c1 100644 --- a/compiler/src/dotty/tools/dotc/transform/ParamForwarding.scala +++ b/compiler/src/dotty/tools/dotc/transform/ParamForwarding.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala b/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala index e470af9c43cb..572bd87b37b0 100644 --- a/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala +++ b/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Pickler.scala b/compiler/src/dotty/tools/dotc/transform/Pickler.scala index 0abee9001ba9..7750d0357281 100644 --- a/compiler/src/dotty/tools/dotc/transform/Pickler.scala +++ b/compiler/src/dotty/tools/dotc/transform/Pickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/PostTyper.scala b/compiler/src/dotty/tools/dotc/transform/PostTyper.scala index 6cb00fad258f..2f448a2f8697 100644 --- a/compiler/src/dotty/tools/dotc/transform/PostTyper.scala +++ b/compiler/src/dotty/tools/dotc/transform/PostTyper.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ProtectedAccessors.scala b/compiler/src/dotty/tools/dotc/transform/ProtectedAccessors.scala index dadd92fb11a8..1804e02c739b 100644 --- a/compiler/src/dotty/tools/dotc/transform/ProtectedAccessors.scala +++ b/compiler/src/dotty/tools/dotc/transform/ProtectedAccessors.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/PruneErasedDefs.scala b/compiler/src/dotty/tools/dotc/transform/PruneErasedDefs.scala index 2aeb0a186434..80e42f292044 100644 --- a/compiler/src/dotty/tools/dotc/transform/PruneErasedDefs.scala +++ b/compiler/src/dotty/tools/dotc/transform/PruneErasedDefs.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/RenameLifted.scala b/compiler/src/dotty/tools/dotc/transform/RenameLifted.scala index 51f494c4d951..be3cff5654d7 100644 --- a/compiler/src/dotty/tools/dotc/transform/RenameLifted.scala +++ b/compiler/src/dotty/tools/dotc/transform/RenameLifted.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.core.Contexts.Context diff --git a/compiler/src/dotty/tools/dotc/transform/ResolveSuper.scala b/compiler/src/dotty/tools/dotc/transform/ResolveSuper.scala index be3661259e55..b974dd0ef113 100644 --- a/compiler/src/dotty/tools/dotc/transform/ResolveSuper.scala +++ b/compiler/src/dotty/tools/dotc/transform/ResolveSuper.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/RestoreScopes.scala b/compiler/src/dotty/tools/dotc/transform/RestoreScopes.scala index 002aa969327b..746d3543e165 100644 --- a/compiler/src/dotty/tools/dotc/transform/RestoreScopes.scala +++ b/compiler/src/dotty/tools/dotc/transform/RestoreScopes.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/SelectStatic.scala b/compiler/src/dotty/tools/dotc/transform/SelectStatic.scala index 761d092da972..61cb78d020d4 100644 --- a/compiler/src/dotty/tools/dotc/transform/SelectStatic.scala +++ b/compiler/src/dotty/tools/dotc/transform/SelectStatic.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/SeqLiterals.scala b/compiler/src/dotty/tools/dotc/transform/SeqLiterals.scala index b6daa0f1388c..dc77ec9e206f 100644 --- a/compiler/src/dotty/tools/dotc/transform/SeqLiterals.scala +++ b/compiler/src/dotty/tools/dotc/transform/SeqLiterals.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/SetRootTree.scala b/compiler/src/dotty/tools/dotc/transform/SetRootTree.scala index 09098188de1e..4948f9cc6754 100644 --- a/compiler/src/dotty/tools/dotc/transform/SetRootTree.scala +++ b/compiler/src/dotty/tools/dotc/transform/SetRootTree.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform import dotty.tools.dotc.CompilationUnit diff --git a/compiler/src/dotty/tools/dotc/transform/ShortcutImplicits.scala b/compiler/src/dotty/tools/dotc/transform/ShortcutImplicits.scala index f574a34a6685..6fe96f086421 100644 --- a/compiler/src/dotty/tools/dotc/transform/ShortcutImplicits.scala +++ b/compiler/src/dotty/tools/dotc/transform/ShortcutImplicits.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Splicer.scala b/compiler/src/dotty/tools/dotc/transform/Splicer.scala index 5bd039fb2629..4f990163a8ce 100644 --- a/compiler/src/dotty/tools/dotc/transform/Splicer.scala +++ b/compiler/src/dotty/tools/dotc/transform/Splicer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/Staging.scala b/compiler/src/dotty/tools/dotc/transform/Staging.scala index 510df2ef3f65..17aaa722301a 100644 --- a/compiler/src/dotty/tools/dotc/transform/Staging.scala +++ b/compiler/src/dotty/tools/dotc/transform/Staging.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/SuperAccessors.scala b/compiler/src/dotty/tools/dotc/transform/SuperAccessors.scala index d647127a68c3..5b7363153b8d 100644 --- a/compiler/src/dotty/tools/dotc/transform/SuperAccessors.scala +++ b/compiler/src/dotty/tools/dotc/transform/SuperAccessors.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/SymUtils.scala b/compiler/src/dotty/tools/dotc/transform/SymUtils.scala index 630233484ad4..3fb6f3a7640c 100644 --- a/compiler/src/dotty/tools/dotc/transform/SymUtils.scala +++ b/compiler/src/dotty/tools/dotc/transform/SymUtils.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/SyntheticMethods.scala b/compiler/src/dotty/tools/dotc/transform/SyntheticMethods.scala index 0b9dde117732..e93e2bbee5ce 100644 --- a/compiler/src/dotty/tools/dotc/transform/SyntheticMethods.scala +++ b/compiler/src/dotty/tools/dotc/transform/SyntheticMethods.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TailRec.scala b/compiler/src/dotty/tools/dotc/transform/TailRec.scala index bc3a251065cf..9d66a4aa2117 100644 --- a/compiler/src/dotty/tools/dotc/transform/TailRec.scala +++ b/compiler/src/dotty/tools/dotc/transform/TailRec.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TransformByNameApply.scala b/compiler/src/dotty/tools/dotc/transform/TransformByNameApply.scala index dc9317f0028a..36eee66505ca 100644 --- a/compiler/src/dotty/tools/dotc/transform/TransformByNameApply.scala +++ b/compiler/src/dotty/tools/dotc/transform/TransformByNameApply.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TransformWildcards.scala b/compiler/src/dotty/tools/dotc/transform/TransformWildcards.scala index 316aff6cac5e..0a537f350563 100644 --- a/compiler/src/dotty/tools/dotc/transform/TransformWildcards.scala +++ b/compiler/src/dotty/tools/dotc/transform/TransformWildcards.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TreeChecker.scala b/compiler/src/dotty/tools/dotc/transform/TreeChecker.scala index 07b71670c5d4..13a3544278ee 100644 --- a/compiler/src/dotty/tools/dotc/transform/TreeChecker.scala +++ b/compiler/src/dotty/tools/dotc/transform/TreeChecker.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TreeExtractors.scala b/compiler/src/dotty/tools/dotc/transform/TreeExtractors.scala index 38dd28be2f16..8278dea2086b 100644 --- a/compiler/src/dotty/tools/dotc/transform/TreeExtractors.scala +++ b/compiler/src/dotty/tools/dotc/transform/TreeExtractors.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TryCatchPatterns.scala b/compiler/src/dotty/tools/dotc/transform/TryCatchPatterns.scala index 827b2bd6c57e..c985fd83e6d8 100644 --- a/compiler/src/dotty/tools/dotc/transform/TryCatchPatterns.scala +++ b/compiler/src/dotty/tools/dotc/transform/TryCatchPatterns.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala b/compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala index da67a64e60ad..582de3873e74 100644 --- a/compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala +++ b/compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/TypeUtils.scala b/compiler/src/dotty/tools/dotc/transform/TypeUtils.scala index 4239b8248c10..8397a14ab618 100644 --- a/compiler/src/dotty/tools/dotc/transform/TypeUtils.scala +++ b/compiler/src/dotty/tools/dotc/transform/TypeUtils.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/VCElideAllocations.scala b/compiler/src/dotty/tools/dotc/transform/VCElideAllocations.scala index 711c24aa7c06..934784cba302 100644 --- a/compiler/src/dotty/tools/dotc/transform/VCElideAllocations.scala +++ b/compiler/src/dotty/tools/dotc/transform/VCElideAllocations.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/VCInlineMethods.scala b/compiler/src/dotty/tools/dotc/transform/VCInlineMethods.scala index 7f5097fd5d27..031768bbd78a 100644 --- a/compiler/src/dotty/tools/dotc/transform/VCInlineMethods.scala +++ b/compiler/src/dotty/tools/dotc/transform/VCInlineMethods.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/ValueClasses.scala b/compiler/src/dotty/tools/dotc/transform/ValueClasses.scala index 311eb184824f..e21d819c6fa2 100644 --- a/compiler/src/dotty/tools/dotc/transform/ValueClasses.scala +++ b/compiler/src/dotty/tools/dotc/transform/ValueClasses.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform diff --git a/compiler/src/dotty/tools/dotc/transform/localopt/StringInterpolatorOpt.scala b/compiler/src/dotty/tools/dotc/transform/localopt/StringInterpolatorOpt.scala index f5bd2d64b319..764c64635a05 100644 --- a/compiler/src/dotty/tools/dotc/transform/localopt/StringInterpolatorOpt.scala +++ b/compiler/src/dotty/tools/dotc/transform/localopt/StringInterpolatorOpt.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.transform.localopt import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/dotc/transform/patmat/Space.scala b/compiler/src/dotty/tools/dotc/transform/patmat/Space.scala index 42c2580f78c4..741751faeb1e 100644 --- a/compiler/src/dotty/tools/dotc/transform/patmat/Space.scala +++ b/compiler/src/dotty/tools/dotc/transform/patmat/Space.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package transform package patmat diff --git a/compiler/src/dotty/tools/dotc/typer/Applications.scala b/compiler/src/dotty/tools/dotc/typer/Applications.scala index a0793360827c..e7cbf19e1083 100644 --- a/compiler/src/dotty/tools/dotc/typer/Applications.scala +++ b/compiler/src/dotty/tools/dotc/typer/Applications.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Checking.scala b/compiler/src/dotty/tools/dotc/typer/Checking.scala index 8293e0a99ee0..e536fb7d63d2 100644 --- a/compiler/src/dotty/tools/dotc/typer/Checking.scala +++ b/compiler/src/dotty/tools/dotc/typer/Checking.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/ConstFold.scala b/compiler/src/dotty/tools/dotc/typer/ConstFold.scala index 0fabadf4bb3e..49518d31fb4d 100644 --- a/compiler/src/dotty/tools/dotc/typer/ConstFold.scala +++ b/compiler/src/dotty/tools/dotc/typer/ConstFold.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Docstrings.scala b/compiler/src/dotty/tools/dotc/typer/Docstrings.scala index 65e68a1df4e4..f86f5f8fe304 100644 --- a/compiler/src/dotty/tools/dotc/typer/Docstrings.scala +++ b/compiler/src/dotty/tools/dotc/typer/Docstrings.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Dynamic.scala b/compiler/src/dotty/tools/dotc/typer/Dynamic.scala index ac452780ccc4..3548101af7d4 100644 --- a/compiler/src/dotty/tools/dotc/typer/Dynamic.scala +++ b/compiler/src/dotty/tools/dotc/typer/Dynamic.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala b/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala index e9f9d6d5ea50..08c68863c896 100644 --- a/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala +++ b/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/EtaExpansion.scala b/compiler/src/dotty/tools/dotc/typer/EtaExpansion.scala index b6d16782a0bd..e2db9f08c7a3 100644 --- a/compiler/src/dotty/tools/dotc/typer/EtaExpansion.scala +++ b/compiler/src/dotty/tools/dotc/typer/EtaExpansion.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/FrontEnd.scala b/compiler/src/dotty/tools/dotc/typer/FrontEnd.scala index 6ce0e18ae89d..2069aa29e6af 100644 --- a/compiler/src/dotty/tools/dotc/typer/FrontEnd.scala +++ b/compiler/src/dotty/tools/dotc/typer/FrontEnd.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Implicits.scala b/compiler/src/dotty/tools/dotc/typer/Implicits.scala index aef040c5df78..d9faed2e4958 100644 --- a/compiler/src/dotty/tools/dotc/typer/Implicits.scala +++ b/compiler/src/dotty/tools/dotc/typer/Implicits.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/ImportInfo.scala b/compiler/src/dotty/tools/dotc/typer/ImportInfo.scala index 5506b78aea22..205f6b1a5933 100644 --- a/compiler/src/dotty/tools/dotc/typer/ImportInfo.scala +++ b/compiler/src/dotty/tools/dotc/typer/ImportInfo.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Inferencing.scala b/compiler/src/dotty/tools/dotc/typer/Inferencing.scala index c49bf8ef0ad6..b02896e3db53 100644 --- a/compiler/src/dotty/tools/dotc/typer/Inferencing.scala +++ b/compiler/src/dotty/tools/dotc/typer/Inferencing.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Inliner.scala b/compiler/src/dotty/tools/dotc/typer/Inliner.scala index d27a6199f957..1566495e72e4 100644 --- a/compiler/src/dotty/tools/dotc/typer/Inliner.scala +++ b/compiler/src/dotty/tools/dotc/typer/Inliner.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Namer.scala b/compiler/src/dotty/tools/dotc/typer/Namer.scala index fa881495dcf9..6a68b3b170f9 100644 --- a/compiler/src/dotty/tools/dotc/typer/Namer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Namer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/PrepareInlineable.scala b/compiler/src/dotty/tools/dotc/typer/PrepareInlineable.scala index ef8e4b42c06d..bd6ebed4eb85 100644 --- a/compiler/src/dotty/tools/dotc/typer/PrepareInlineable.scala +++ b/compiler/src/dotty/tools/dotc/typer/PrepareInlineable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala b/compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala index 9c3af1eef743..625ddc8849fe 100644 --- a/compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala +++ b/compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/ReTyper.scala b/compiler/src/dotty/tools/dotc/typer/ReTyper.scala index e3d2f4232dd0..37f3ad2380f5 100644 --- a/compiler/src/dotty/tools/dotc/typer/ReTyper.scala +++ b/compiler/src/dotty/tools/dotc/typer/ReTyper.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/RefChecks.scala b/compiler/src/dotty/tools/dotc/typer/RefChecks.scala index 1d84c3478d33..74821a229f75 100644 --- a/compiler/src/dotty/tools/dotc/typer/RefChecks.scala +++ b/compiler/src/dotty/tools/dotc/typer/RefChecks.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala b/compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala index 317d3f762696..72436042e2e9 100644 --- a/compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala +++ b/compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala index 667c30cd0d90..10587b891f53 100644 --- a/compiler/src/dotty/tools/dotc/typer/Typer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/VarianceChecker.scala b/compiler/src/dotty/tools/dotc/typer/VarianceChecker.scala index fe59723ed3c0..b6061f9e8e9f 100644 --- a/compiler/src/dotty/tools/dotc/typer/VarianceChecker.scala +++ b/compiler/src/dotty/tools/dotc/typer/VarianceChecker.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package typer diff --git a/compiler/src/dotty/tools/dotc/typer/Variances.scala b/compiler/src/dotty/tools/dotc/typer/Variances.scala index 014c23c961ee..8009b1a2d173 100644 --- a/compiler/src/dotty/tools/dotc/typer/Variances.scala +++ b/compiler/src/dotty/tools/dotc/typer/Variances.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package typer diff --git a/compiler/src/dotty/tools/dotc/util/Attachment.scala b/compiler/src/dotty/tools/dotc/util/Attachment.scala index 0fed105d3c91..68767a20a3ef 100644 --- a/compiler/src/dotty/tools/dotc/util/Attachment.scala +++ b/compiler/src/dotty/tools/dotc/util/Attachment.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util /** A class inheriting from Attachment.Container supports diff --git a/compiler/src/dotty/tools/dotc/util/CommentParsing.scala b/compiler/src/dotty/tools/dotc/util/CommentParsing.scala index 61c42ced3d92..5580011c88b5 100644 --- a/compiler/src/dotty/tools/dotc/util/CommentParsing.scala +++ b/compiler/src/dotty/tools/dotc/util/CommentParsing.scala @@ -1,8 +1,15 @@ /* - * Port of DocStrings.scala from nsc - * @author Martin Odersky - * @author Felix Mulder + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.util import scala.collection.mutable diff --git a/compiler/src/dotty/tools/dotc/util/DiffUtil.scala b/compiler/src/dotty/tools/dotc/util/DiffUtil.scala index 38b283c1a9eb..85dbb1115949 100644 --- a/compiler/src/dotty/tools/dotc/util/DiffUtil.scala +++ b/compiler/src/dotty/tools/dotc/util/DiffUtil.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import scala.annotation.tailrec diff --git a/compiler/src/dotty/tools/dotc/util/DotClass.scala b/compiler/src/dotty/tools/dotc/util/DotClass.scala index f9e7e97a219d..7e9ab4ce8902 100644 --- a/compiler/src/dotty/tools/dotc/util/DotClass.scala +++ b/compiler/src/dotty/tools/dotc/util/DotClass.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util /** Adds standard functionality to a class. diff --git a/compiler/src/dotty/tools/dotc/util/FreshNameCreator.scala b/compiler/src/dotty/tools/dotc/util/FreshNameCreator.scala index f3375028c95f..0cb81b9f3ba7 100644 --- a/compiler/src/dotty/tools/dotc/util/FreshNameCreator.scala +++ b/compiler/src/dotty/tools/dotc/util/FreshNameCreator.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package util diff --git a/compiler/src/dotty/tools/dotc/util/HashSet.scala b/compiler/src/dotty/tools/dotc/util/HashSet.scala index 024383af4f89..6c19749fdc12 100644 --- a/compiler/src/dotty/tools/dotc/util/HashSet.scala +++ b/compiler/src/dotty/tools/dotc/util/HashSet.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util /** A hash set that allows some privileged protected access to its internals diff --git a/compiler/src/dotty/tools/dotc/util/LRUCache.scala b/compiler/src/dotty/tools/dotc/util/LRUCache.scala index cc54519fe1fc..11196c055300 100644 --- a/compiler/src/dotty/tools/dotc/util/LRUCache.scala +++ b/compiler/src/dotty/tools/dotc/util/LRUCache.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import reflect.ClassTag diff --git a/compiler/src/dotty/tools/dotc/util/NameTransformer.scala b/compiler/src/dotty/tools/dotc/util/NameTransformer.scala index d489c1ed0e42..bf94db0f8c10 100644 --- a/compiler/src/dotty/tools/dotc/util/NameTransformer.scala +++ b/compiler/src/dotty/tools/dotc/util/NameTransformer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package util diff --git a/compiler/src/dotty/tools/dotc/util/ParsedComment.scala b/compiler/src/dotty/tools/dotc/util/ParsedComment.scala index 266a3145e0bc..9f6eaf01240c 100644 --- a/compiler/src/dotty/tools/dotc/util/ParsedComment.scala +++ b/compiler/src/dotty/tools/dotc/util/ParsedComment.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import dotty.tools.dotc.core.Comments.{Comment, CommentsContext} diff --git a/compiler/src/dotty/tools/dotc/util/Positions.scala b/compiler/src/dotty/tools/dotc/util/Positions.scala index 1e6814d7caf4..ccd14320e94c 100644 --- a/compiler/src/dotty/tools/dotc/util/Positions.scala +++ b/compiler/src/dotty/tools/dotc/util/Positions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package util import language.implicitConversions diff --git a/compiler/src/dotty/tools/dotc/util/Property.scala b/compiler/src/dotty/tools/dotc/util/Property.scala index ebcd43ae5a11..ccba497fcc7f 100644 --- a/compiler/src/dotty/tools/dotc/util/Property.scala +++ b/compiler/src/dotty/tools/dotc/util/Property.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util /** Defines a key type with which to tag properties, such as attachments diff --git a/compiler/src/dotty/tools/dotc/util/Set.scala b/compiler/src/dotty/tools/dotc/util/Set.scala index 3a8fe9e823aa..fbd42cd960d2 100644 --- a/compiler/src/dotty/tools/dotc/util/Set.scala +++ b/compiler/src/dotty/tools/dotc/util/Set.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util /** A common class for lightweight sets. diff --git a/compiler/src/dotty/tools/dotc/util/ShowPickled.scala b/compiler/src/dotty/tools/dotc/util/ShowPickled.scala index e210f80c73e4..0c02a614e70d 100644 --- a/compiler/src/dotty/tools/dotc/util/ShowPickled.scala +++ b/compiler/src/dotty/tools/dotc/util/ShowPickled.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package util diff --git a/compiler/src/dotty/tools/dotc/util/Signatures.scala b/compiler/src/dotty/tools/dotc/util/Signatures.scala index 4c44d337cbf3..95b28c9aa704 100644 --- a/compiler/src/dotty/tools/dotc/util/Signatures.scala +++ b/compiler/src/dotty/tools/dotc/util/Signatures.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/dotc/util/SimpleIdentityMap.scala b/compiler/src/dotty/tools/dotc/util/SimpleIdentityMap.scala index d609b889497f..e911e4821031 100644 --- a/compiler/src/dotty/tools/dotc/util/SimpleIdentityMap.scala +++ b/compiler/src/dotty/tools/dotc/util/SimpleIdentityMap.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import collection.mutable.ListBuffer diff --git a/compiler/src/dotty/tools/dotc/util/SimpleIdentitySet.scala b/compiler/src/dotty/tools/dotc/util/SimpleIdentitySet.scala index 1d4b4d0a3b1b..03236ff6f71d 100644 --- a/compiler/src/dotty/tools/dotc/util/SimpleIdentitySet.scala +++ b/compiler/src/dotty/tools/dotc/util/SimpleIdentitySet.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import collection.mutable.ListBuffer diff --git a/compiler/src/dotty/tools/dotc/util/SixteenNibbles.scala b/compiler/src/dotty/tools/dotc/util/SixteenNibbles.scala index ebeb9f700273..f07753816b11 100644 --- a/compiler/src/dotty/tools/dotc/util/SixteenNibbles.scala +++ b/compiler/src/dotty/tools/dotc/util/SixteenNibbles.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util /** An efficient implementation of sequences of 16 indexed elements with diff --git a/compiler/src/dotty/tools/dotc/util/SourceFile.scala b/compiler/src/dotty/tools/dotc/util/SourceFile.scala index d200fae54df3..a29d6f62b5b0 100644 --- a/compiler/src/dotty/tools/dotc/util/SourceFile.scala +++ b/compiler/src/dotty/tools/dotc/util/SourceFile.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package util diff --git a/compiler/src/dotty/tools/dotc/util/SourcePosition.scala b/compiler/src/dotty/tools/dotc/util/SourcePosition.scala index 2731551c501a..c93f18609bf5 100644 --- a/compiler/src/dotty/tools/dotc/util/SourcePosition.scala +++ b/compiler/src/dotty/tools/dotc/util/SourcePosition.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package util diff --git a/compiler/src/dotty/tools/dotc/util/Stats.scala b/compiler/src/dotty/tools/dotc/util/Stats.scala index 7fec4c75bbcc..4dd264633a06 100644 --- a/compiler/src/dotty/tools/dotc/util/Stats.scala +++ b/compiler/src/dotty/tools/dotc/util/Stats.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dotc package util diff --git a/compiler/src/dotty/tools/dotc/util/Store.scala b/compiler/src/dotty/tools/dotc/util/Store.scala index 72e6da0faa49..b0f32d6e851c 100644 --- a/compiler/src/dotty/tools/dotc/util/Store.scala +++ b/compiler/src/dotty/tools/dotc/util/Store.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util object Store { diff --git a/compiler/src/dotty/tools/dotc/util/Util.scala b/compiler/src/dotty/tools/dotc/util/Util.scala index ffb40caf5292..8442bf47ed5d 100644 --- a/compiler/src/dotty/tools/dotc/util/Util.scala +++ b/compiler/src/dotty/tools/dotc/util/Util.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.util import reflect.ClassTag diff --git a/compiler/src/dotty/tools/dotc/util/WeakHashSet.scala b/compiler/src/dotty/tools/dotc/util/WeakHashSet.scala index ef1d333cdab2..380cc4963c5e 100644 --- a/compiler/src/dotty/tools/dotc/util/WeakHashSet.scala +++ b/compiler/src/dotty/tools/dotc/util/WeakHashSet.scala @@ -1,5 +1,15 @@ -/** Taken from the original implementation of WeakHashSet in scala-reflect +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package dotty.tools.dotc.util import java.lang.ref.{ReferenceQueue, WeakReference} diff --git a/compiler/src/dotty/tools/dotc/util/common.scala b/compiler/src/dotty/tools/dotc/util/common.scala index dc71214d028a..897b5e2e61f7 100644 --- a/compiler/src/dotty/tools/dotc/util/common.scala +++ b/compiler/src/dotty/tools/dotc/util/common.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc package util diff --git a/compiler/src/dotty/tools/io/AbstractFile.scala b/compiler/src/dotty/tools/io/AbstractFile.scala index 6d893a275bbc..51f897b12e33 100644 --- a/compiler/src/dotty/tools/io/AbstractFile.scala +++ b/compiler/src/dotty/tools/io/AbstractFile.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/ClassPath.scala b/compiler/src/dotty/tools/io/ClassPath.scala index 6192c6958f47..bb38c8c2bbce 100644 --- a/compiler/src/dotty/tools/io/ClassPath.scala +++ b/compiler/src/dotty/tools/io/ClassPath.scala @@ -1,9 +1,15 @@ -/* NSC -- new Scala compiler - * Copyright 2006-2013 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ - package dotty.tools package io diff --git a/compiler/src/dotty/tools/io/Directory.scala b/compiler/src/dotty/tools/io/Directory.scala index 043d8d44c231..739bc280a11c 100644 --- a/compiler/src/dotty/tools/io/Directory.scala +++ b/compiler/src/dotty/tools/io/Directory.scala @@ -1,10 +1,14 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/File.scala b/compiler/src/dotty/tools/io/File.scala index 284e8989a1f5..e5d7d7937e61 100644 --- a/compiler/src/dotty/tools/io/File.scala +++ b/compiler/src/dotty/tools/io/File.scala @@ -1,10 +1,14 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/FileOperationException.scala b/compiler/src/dotty/tools/io/FileOperationException.scala index 533384317732..76f4e7c9f3dd 100644 --- a/compiler/src/dotty/tools/io/FileOperationException.scala +++ b/compiler/src/dotty/tools/io/FileOperationException.scala @@ -1,11 +1,14 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ package dotty.tools.io /** ''Note: This library is considered experimental and should not be used unless you know what you are doing.'' */ diff --git a/compiler/src/dotty/tools/io/Jar.scala b/compiler/src/dotty/tools/io/Jar.scala index ec0f54738774..3e46ec487dcb 100644 --- a/compiler/src/dotty/tools/io/Jar.scala +++ b/compiler/src/dotty/tools/io/Jar.scala @@ -1,9 +1,15 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2012 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ - package dotty.tools package io diff --git a/compiler/src/dotty/tools/io/JarArchive.scala b/compiler/src/dotty/tools/io/JarArchive.scala index 88513eeb9e7e..6d25d217b2be 100644 --- a/compiler/src/dotty/tools/io/JarArchive.scala +++ b/compiler/src/dotty/tools/io/JarArchive.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.io import java.nio.file.{FileSystemAlreadyExistsException, FileSystems} diff --git a/compiler/src/dotty/tools/io/NoAbstractFile.scala b/compiler/src/dotty/tools/io/NoAbstractFile.scala index e6022ea40633..9a81e3a92a39 100644 --- a/compiler/src/dotty/tools/io/NoAbstractFile.scala +++ b/compiler/src/dotty/tools/io/NoAbstractFile.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/Path.scala b/compiler/src/dotty/tools/io/Path.scala index 069472ca6858..a1a734d1b805 100644 --- a/compiler/src/dotty/tools/io/Path.scala +++ b/compiler/src/dotty/tools/io/Path.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/PlainFile.scala b/compiler/src/dotty/tools/io/PlainFile.scala index f5bde26722fc..6ca862d3846c 100644 --- a/compiler/src/dotty/tools/io/PlainFile.scala +++ b/compiler/src/dotty/tools/io/PlainFile.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools diff --git a/compiler/src/dotty/tools/io/Streamable.scala b/compiler/src/dotty/tools/io/Streamable.scala index 099e261e7491..4723449e1763 100644 --- a/compiler/src/dotty/tools/io/Streamable.scala +++ b/compiler/src/dotty/tools/io/Streamable.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/VirtualDirectory.scala b/compiler/src/dotty/tools/io/VirtualDirectory.scala index cfd8a66aac42..2cb983ae7452 100644 --- a/compiler/src/dotty/tools/io/VirtualDirectory.scala +++ b/compiler/src/dotty/tools/io/VirtualDirectory.scala @@ -1,5 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/VirtualFile.scala b/compiler/src/dotty/tools/io/VirtualFile.scala index 8206e50baaf2..940f5d75b846 100644 --- a/compiler/src/dotty/tools/io/VirtualFile.scala +++ b/compiler/src/dotty/tools/io/VirtualFile.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Martin Odersky +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/ZipArchive.scala b/compiler/src/dotty/tools/io/ZipArchive.scala index fa27ac4245cf..c4d8f72544bf 100644 --- a/compiler/src/dotty/tools/io/ZipArchive.scala +++ b/compiler/src/dotty/tools/io/ZipArchive.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2013 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools.io diff --git a/compiler/src/dotty/tools/io/package.scala b/compiler/src/dotty/tools/io/package.scala index 19bb6e4ad19b..d413312fd1ba 100644 --- a/compiler/src/dotty/tools/io/package.scala +++ b/compiler/src/dotty/tools/io/package.scala @@ -1,6 +1,13 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2012 LAMP/EPFL - * @author Paul Phillips +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ package dotty.tools diff --git a/compiler/src/dotty/tools/package.scala b/compiler/src/dotty/tools/package.scala index 2a7506da8d52..ad383345eb9e 100644 --- a/compiler/src/dotty/tools/package.scala +++ b/compiler/src/dotty/tools/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty package object tools { diff --git a/compiler/src/dotty/tools/repl/AbstractFileClassLoader.scala b/compiler/src/dotty/tools/repl/AbstractFileClassLoader.scala index 42330cf7a52f..4dba2612cd03 100644 --- a/compiler/src/dotty/tools/repl/AbstractFileClassLoader.scala +++ b/compiler/src/dotty/tools/repl/AbstractFileClassLoader.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package repl diff --git a/compiler/src/dotty/tools/repl/CollectTopLevelImports.scala b/compiler/src/dotty/tools/repl/CollectTopLevelImports.scala index a025ccd6f3bb..91f5ceca924a 100644 --- a/compiler/src/dotty/tools/repl/CollectTopLevelImports.scala +++ b/compiler/src/dotty/tools/repl/CollectTopLevelImports.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.repl import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/repl/JLineTerminal.scala b/compiler/src/dotty/tools/repl/JLineTerminal.scala index 7868eacf4831..788c4819bc3b 100644 --- a/compiler/src/dotty/tools/repl/JLineTerminal.scala +++ b/compiler/src/dotty/tools/repl/JLineTerminal.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.repl import dotty.tools.dotc.core.Contexts.Context diff --git a/compiler/src/dotty/tools/repl/Main.scala b/compiler/src/dotty/tools/repl/Main.scala index 725395dcdb3c..3eca5cf919f2 100644 --- a/compiler/src/dotty/tools/repl/Main.scala +++ b/compiler/src/dotty/tools/repl/Main.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.repl /** Main entry point to the REPL */ diff --git a/compiler/src/dotty/tools/repl/ParseResult.scala b/compiler/src/dotty/tools/repl/ParseResult.scala index 9d5c89980f53..ad7650fbf810 100644 --- a/compiler/src/dotty/tools/repl/ParseResult.scala +++ b/compiler/src/dotty/tools/repl/ParseResult.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package repl diff --git a/compiler/src/dotty/tools/repl/Rendering.scala b/compiler/src/dotty/tools/repl/Rendering.scala index 127936dca36b..e8ee6cd16f75 100644 --- a/compiler/src/dotty/tools/repl/Rendering.scala +++ b/compiler/src/dotty/tools/repl/Rendering.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package repl diff --git a/compiler/src/dotty/tools/repl/ReplCompiler.scala b/compiler/src/dotty/tools/repl/ReplCompiler.scala index 819043fb458b..529a4e1c311d 100644 --- a/compiler/src/dotty/tools/repl/ReplCompiler.scala +++ b/compiler/src/dotty/tools/repl/ReplCompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.repl import dotty.tools.dotc.ast.Trees._ diff --git a/compiler/src/dotty/tools/repl/ReplDriver.scala b/compiler/src/dotty/tools/repl/ReplDriver.scala index 38bbaffff0e4..e6d1c9b910bb 100644 --- a/compiler/src/dotty/tools/repl/ReplDriver.scala +++ b/compiler/src/dotty/tools/repl/ReplDriver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.repl import java.io.{File => JFile, PrintStream} diff --git a/compiler/src/dotty/tools/repl/ReplFrontEnd.scala b/compiler/src/dotty/tools/repl/ReplFrontEnd.scala index 23ea141d0887..5bc1755eeec4 100644 --- a/compiler/src/dotty/tools/repl/ReplFrontEnd.scala +++ b/compiler/src/dotty/tools/repl/ReplFrontEnd.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package repl diff --git a/compiler/src/dotty/tools/repl/package.scala b/compiler/src/dotty/tools/repl/package.scala index 9e9d4c24bb5c..e2e7f7345456 100644 --- a/compiler/src/dotty/tools/repl/package.scala +++ b/compiler/src/dotty/tools/repl/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools import dotc.core.Contexts.Context diff --git a/compiler/src/dotty/tools/repl/results.scala b/compiler/src/dotty/tools/repl/results.scala index 28c6fb2fd92a..dd12355f50c3 100644 --- a/compiler/src/dotty/tools/repl/results.scala +++ b/compiler/src/dotty/tools/repl/results.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package repl diff --git a/compiler/src/scala/reflect/internal/pickling/package.scala b/compiler/src/scala/reflect/internal/pickling/package.scala index 773ec113417d..157f2cefc98c 100644 --- a/compiler/src/scala/reflect/internal/pickling/package.scala +++ b/compiler/src/scala/reflect/internal/pickling/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.reflect.internal import dotty.tools.dotc.core.unpickleScala2 diff --git a/compiler/src/scala/reflect/internal/util/package.scala b/compiler/src/scala/reflect/internal/util/package.scala index c005f4a41d4f..2b804b6c473c 100644 --- a/compiler/src/scala/reflect/internal/util/package.scala +++ b/compiler/src/scala/reflect/internal/util/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.reflect.internal package object util { diff --git a/compiler/src/scala/tools/nsc/io/package.scala b/compiler/src/scala/tools/nsc/io/package.scala index 19e065db8b99..658bc7f54cd7 100644 --- a/compiler/src/scala/tools/nsc/io/package.scala +++ b/compiler/src/scala/tools/nsc/io/package.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tools.nsc /** diff --git a/doc-tool/src/dotty/tools/dottydoc/DocCompiler.scala b/doc-tool/src/dotty/tools/dottydoc/DocCompiler.scala index aac9171dbca1..521a14c940e0 100644 --- a/doc-tool/src/dotty/tools/dottydoc/DocCompiler.scala +++ b/doc-tool/src/dotty/tools/dottydoc/DocCompiler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc diff --git a/doc-tool/src/dotty/tools/dottydoc/DocDriver.scala b/doc-tool/src/dotty/tools/dottydoc/DocDriver.scala index 63e66f0f91d3..328941d4498c 100644 --- a/doc-tool/src/dotty/tools/dottydoc/DocDriver.scala +++ b/doc-tool/src/dotty/tools/dottydoc/DocDriver.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc diff --git a/doc-tool/src/dotty/tools/dottydoc/Main.scala b/doc-tool/src/dotty/tools/dottydoc/Main.scala index f158bdbfce0c..e9187b822185 100644 --- a/doc-tool/src/dotty/tools/dottydoc/Main.scala +++ b/doc-tool/src/dotty/tools/dottydoc/Main.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc diff --git a/doc-tool/src/dotty/tools/dottydoc/core/AlternateConstructorsPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/AlternateConstructorsPhase.scala index 345fac86db34..8afd21f3c918 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/AlternateConstructorsPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/AlternateConstructorsPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/ContextDottydoc.scala b/doc-tool/src/dotty/tools/dottydoc/core/ContextDottydoc.scala index 4e62b2d58dfd..1d84833e5f05 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/ContextDottydoc.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/ContextDottydoc.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/DocASTPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/DocASTPhase.scala index b51e93ab49d6..4ad6b2f0c23b 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/DocASTPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/DocASTPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/DocImplicitsPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/DocImplicitsPhase.scala index 00dcd83b37dc..b72d34e26978 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/DocImplicitsPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/DocImplicitsPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/DocstringPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/DocstringPhase.scala index fa6c06cd4759..bab29724fea0 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/DocstringPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/DocstringPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/LinkCompanionsPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/LinkCompanionsPhase.scala index 07e0c0f8ffcd..a3e9f1e70015 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/LinkCompanionsPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/LinkCompanionsPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/PackageObjectsPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/PackageObjectsPhase.scala index ccb8d2f102cf..7aaf6a1e7cd3 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/PackageObjectsPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/PackageObjectsPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/RemoveEmptyPackagesPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/RemoveEmptyPackagesPhase.scala index 33fb7d0030d5..a75c0c8e1270 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/RemoveEmptyPackagesPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/RemoveEmptyPackagesPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/SortMembersPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/SortMembersPhase.scala index 3f554fd7f236..956e168af1f1 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/SortMembersPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/SortMembersPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/StatisticsPhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/StatisticsPhase.scala index e7f9a9ec7613..f36957d20b0c 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/StatisticsPhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/StatisticsPhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala b/doc-tool/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala index 1165fdb48cee..bb05dd12a591 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/TypeLinkingPhases.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/UsecasePhase.scala b/doc-tool/src/dotty/tools/dottydoc/core/UsecasePhase.scala index f9c118055c1e..15f8bd4c4879 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/UsecasePhase.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/UsecasePhase.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/core/transform.scala b/doc-tool/src/dotty/tools/dottydoc/core/transform.scala index 664d8cea9ccc..7f367b94c478 100644 --- a/doc-tool/src/dotty/tools/dottydoc/core/transform.scala +++ b/doc-tool/src/dotty/tools/dottydoc/core/transform.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package core diff --git a/doc-tool/src/dotty/tools/dottydoc/model/JavaConverters.scala b/doc-tool/src/dotty/tools/dottydoc/model/JavaConverters.scala index 9da11331bdfa..df2f1df39fc6 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/JavaConverters.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/JavaConverters.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/BodyEntities.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/BodyEntities.scala index c4957b66efff..d8ee4bebb05b 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/BodyEntities.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/BodyEntities.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model package comment diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/Comment.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/Comment.scala index dbc76d2fd618..b967be09b38f 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/Comment.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/Comment.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala index cfcf788af9dd..4b2dfea33b70 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model package comment diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentParser.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentParser.scala index f5b1b35cc8ee..107e0664f8df 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentParser.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentParser.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model package comment diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala index faefd19a7c08..3e7a46161859 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model package comment diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/HtmlParsers.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/HtmlParsers.scala index 1faa25f326c5..f1241829baca 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/HtmlParsers.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/HtmlParsers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/MarkdownShortener.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/MarkdownShortener.scala index 311f1e2cb70e..677d9d122f97 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/MarkdownShortener.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/MarkdownShortener.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/WikiParser.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/WikiParser.scala index 70f85a53e29c..d42e3ad53187 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/WikiParser.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/WikiParser.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model package comment diff --git a/doc-tool/src/dotty/tools/dottydoc/model/entities.scala b/doc-tool/src/dotty/tools/dottydoc/model/entities.scala index 71e96ca165c3..34770095742b 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/entities.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/entities.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/factories.scala b/doc-tool/src/dotty/tools/dottydoc/model/factories.scala index db1cabf99d90..ce3979b6795c 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/factories.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/factories.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/internal.scala b/doc-tool/src/dotty/tools/dottydoc/model/internal.scala index ebf9ce057b18..130617d9041b 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/internal.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/internal.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/model/references.scala b/doc-tool/src/dotty/tools/dottydoc/model/references.scala index d34b09490bc0..db25b35cf11a 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/references.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/references.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package model diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/BlogPost.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/BlogPost.scala index 9268199ca398..b2c20ff2aac5 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/BlogPost.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/BlogPost.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/DefaultParams.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/DefaultParams.scala index 9dff4bcfa32a..121013c137a7 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/DefaultParams.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/DefaultParams.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/MapOperations.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/MapOperations.scala index 9dd88cb67508..d66e5237553e 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/MapOperations.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/MapOperations.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownCodeBlockVisitor.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownCodeBlockVisitor.scala index 5aeffd0d52e7..3f89d9bb1bc6 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownCodeBlockVisitor.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownCodeBlockVisitor.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownLinkVisitor.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownLinkVisitor.scala index 7687065921a1..12c66ad804cf 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownLinkVisitor.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/MarkdownLinkVisitor.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/Page.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/Page.scala index 7de72693aaea..b8bb536431b9 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/Page.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/Page.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/ResourceFinder.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/ResourceFinder.scala index 630b26e61dcc..79ca78d0517a 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/ResourceFinder.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/ResourceFinder.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala index 1e656ee4f37d..77848bf0130c 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/Template.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/Template.scala index efa011e0a8a8..34346395dd41 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/Template.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/Template.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/Yaml.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/Yaml.scala index 07bc2756200c..a537097f74ff 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/Yaml.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/Yaml.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/filters.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/filters.scala index 718ba6b37e8c..f81164c0b35e 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/filters.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/filters.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/staticsite/tags.scala b/doc-tool/src/dotty/tools/dottydoc/staticsite/tags.scala index 013144ba594b..f4b868cb967e 100644 --- a/doc-tool/src/dotty/tools/dottydoc/staticsite/tags.scala +++ b/doc-tool/src/dotty/tools/dottydoc/staticsite/tags.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package staticsite diff --git a/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala b/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala index d478557df27f..a16e3dda2daf 100644 --- a/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala +++ b/doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package util diff --git a/doc-tool/src/dotty/tools/dottydoc/util/internal/mutate.scala b/doc-tool/src/dotty/tools/dottydoc/util/internal/mutate.scala index 2f4a255dccf8..94c7b6cfbd1f 100644 --- a/doc-tool/src/dotty/tools/dottydoc/util/internal/mutate.scala +++ b/doc-tool/src/dotty/tools/dottydoc/util/internal/mutate.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package util package internal diff --git a/doc-tool/src/dotty/tools/dottydoc/util/syntax.scala b/doc-tool/src/dotty/tools/dottydoc/util/syntax.scala index 4edb71b387dd..cbf316b9759a 100644 --- a/doc-tool/src/dotty/tools/dottydoc/util/syntax.scala +++ b/doc-tool/src/dotty/tools/dottydoc/util/syntax.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools package dottydoc package util diff --git a/doc-tool/src/dotty/tools/dottydoc/util/traversing.scala b/doc-tool/src/dotty/tools/dottydoc/util/traversing.scala index 956cb9291499..9fcb66bb0196 100644 --- a/doc-tool/src/dotty/tools/dottydoc/util/traversing.scala +++ b/doc-tool/src/dotty/tools/dottydoc/util/traversing.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dottydoc package util diff --git a/interfaces/src/dotty/tools/dotc/interfaces/AbstractFile.java b/interfaces/src/dotty/tools/dotc/interfaces/AbstractFile.java index 286e7b2cf51d..b41415230f25 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/AbstractFile.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/AbstractFile.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; import java.io.File; diff --git a/interfaces/src/dotty/tools/dotc/interfaces/CompilerCallback.java b/interfaces/src/dotty/tools/dotc/interfaces/CompilerCallback.java index 25696f74041b..87e7295cd69f 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/CompilerCallback.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/CompilerCallback.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; /** Set of callbacks called in response to events during the compilation process. diff --git a/interfaces/src/dotty/tools/dotc/interfaces/Diagnostic.java b/interfaces/src/dotty/tools/dotc/interfaces/Diagnostic.java index c46360afaa3d..bf4c520e9058 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/Diagnostic.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/Diagnostic.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; import java.util.Optional; diff --git a/interfaces/src/dotty/tools/dotc/interfaces/ReporterResult.java b/interfaces/src/dotty/tools/dotc/interfaces/ReporterResult.java index f75519db2d2e..530206720eee 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/ReporterResult.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/ReporterResult.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; /** Summary of the diagnostics emitted by a Reporter. diff --git a/interfaces/src/dotty/tools/dotc/interfaces/SimpleReporter.java b/interfaces/src/dotty/tools/dotc/interfaces/SimpleReporter.java index f4c80c0cf996..a2a958de8cdc 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/SimpleReporter.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/SimpleReporter.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; /** Report errors, warnings and info messages during the compilation process diff --git a/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java b/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java index 6c72a5125b0d..5018cc9e706b 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/SourceFile.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; /** A source file. diff --git a/interfaces/src/dotty/tools/dotc/interfaces/SourcePosition.java b/interfaces/src/dotty/tools/dotc/interfaces/SourcePosition.java index d8afbf5f607a..0402348253b7 100644 --- a/interfaces/src/dotty/tools/dotc/interfaces/SourcePosition.java +++ b/interfaces/src/dotty/tools/dotc/interfaces/SourcePosition.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.tools.dotc.interfaces; /** A position in a source file. diff --git a/library/src-non-bootstrapped/scala/Tuple.scala b/library/src-non-bootstrapped/scala/Tuple.scala index 7c981cc592ea..e2d1541d2379 100644 --- a/library/src-non-bootstrapped/scala/Tuple.scala +++ b/library/src-non-bootstrapped/scala/Tuple.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala import annotation.showAsInfix diff --git a/library/src-non-bootstrapped/scala/tasty/reflect/utils/TreeUtils.scala b/library/src-non-bootstrapped/scala/tasty/reflect/utils/TreeUtils.scala index d532aa2883f6..1afa98360817 100644 --- a/library/src-non-bootstrapped/scala/tasty/reflect/utils/TreeUtils.scala +++ b/library/src-non-bootstrapped/scala/tasty/reflect/utils/TreeUtils.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect.utils diff --git a/library/src/dotty/DottyPredef.scala b/library/src/dotty/DottyPredef.scala index 0a1276e1958e..b8f07b9dee15 100644 --- a/library/src/dotty/DottyPredef.scala +++ b/library/src/dotty/DottyPredef.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty import scala.forceInline diff --git a/library/src/dotty/runtime/Arrays.scala b/library/src/dotty/runtime/Arrays.scala index 9ec5512ad86b..fdb98a7941c5 100644 --- a/library/src/dotty/runtime/Arrays.scala +++ b/library/src/dotty/runtime/Arrays.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.runtime import scala.reflect.ClassTag diff --git a/library/src/dotty/runtime/LazyVals.scala b/library/src/dotty/runtime/LazyVals.scala index 5cd55380ab88..ad0f45c5df6a 100644 --- a/library/src/dotty/runtime/LazyVals.scala +++ b/library/src/dotty/runtime/LazyVals.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.runtime /** diff --git a/library/src/dotty/runtime/LegacyApp.scala b/library/src/dotty/runtime/LegacyApp.scala index 1eae4c2be0c2..0722a33ef56c 100644 --- a/library/src/dotty/runtime/LegacyApp.scala +++ b/library/src/dotty/runtime/LegacyApp.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package dotty.runtime /** Replaces the `scala.App` class which relies on `DelayedInit` functionality, diff --git a/library/src/scala/Enum.scala b/library/src/scala/Enum.scala index 7d2eefb3df9c..3658c8f00035 100644 --- a/library/src/scala/Enum.scala +++ b/library/src/scala/Enum.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala /** A base trait of all enum classes */ diff --git a/library/src/scala/Eq.scala b/library/src/scala/Eq.scala index 15869024d003..410ad57281c1 100644 --- a/library/src/scala/Eq.scala +++ b/library/src/scala/Eq.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala import annotation.implicitNotFound diff --git a/library/src/scala/FunctionXXL.scala b/library/src/scala/FunctionXXL.scala index 25e7af609b3b..c246e62fdd56 100644 --- a/library/src/scala/FunctionXXL.scala +++ b/library/src/scala/FunctionXXL.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala /** A function with all parameters grouped in an array. */ diff --git a/library/src/scala/Product0.scala b/library/src/scala/Product0.scala index d50721d02da7..a087db8242b9 100644 --- a/library/src/scala/Product0.scala +++ b/library/src/scala/Product0.scala @@ -1,10 +1,15 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala /** A class for Product0 which was missing from the scala distribution. */ diff --git a/library/src/scala/Selectable.scala b/library/src/scala/Selectable.scala index 2dd9449c3fad..01c118700873 100644 --- a/library/src/scala/Selectable.scala +++ b/library/src/scala/Selectable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala import scala.reflect.ClassTag diff --git a/library/src/scala/TupleXXL.scala b/library/src/scala/TupleXXL.scala index cb79ff68a4a8..26aea2792c06 100644 --- a/library/src/scala/TupleXXL.scala +++ b/library/src/scala/TupleXXL.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala import java.util.Arrays.{deepEquals, deepHashCode} diff --git a/library/src/scala/ValueOf.scala b/library/src/scala/ValueOf.scala index 2d9a1e72b340..2f492aa278cb 100644 --- a/library/src/scala/ValueOf.scala +++ b/library/src/scala/ValueOf.scala @@ -1,10 +1,10 @@ /* - * Scala (https://www.scala-lang.org) + * Dotty (https://dotty.epfl.ch/) * * Copyright EPFL and Lightbend, Inc. * * Licensed under Apache License 2.0 - * (http://www.apache.org/licenses/LICENSE-2.0). + * (https://www.apache.org/licenses/LICENSE-2.0). * * See the NOTICE file distributed with this work for * additional information regarding copyright ownership. diff --git a/library/src/scala/annotation/RefiningAnnotation.scala b/library/src/scala/annotation/RefiningAnnotation.scala index 65761d5234d4..a6756c328284 100644 --- a/library/src/scala/annotation/RefiningAnnotation.scala +++ b/library/src/scala/annotation/RefiningAnnotation.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation /** A base trait for annotations that yield proper subtypes of the types they annotate. diff --git a/library/src/scala/annotation/internal/Alias.scala b/library/src/scala/annotation/internal/Alias.scala index e3f56e70cb1f..47a092c40629 100644 --- a/library/src/scala/annotation/internal/Alias.scala +++ b/library/src/scala/annotation/internal/Alias.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/AnnotationDefault.scala b/library/src/scala/annotation/internal/AnnotationDefault.scala index 5280d091c1ec..b942bbea3f51 100644 --- a/library/src/scala/annotation/internal/AnnotationDefault.scala +++ b/library/src/scala/annotation/internal/AnnotationDefault.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/Body.scala b/library/src/scala/annotation/internal/Body.scala index b6aa0c0fb616..edf9db833b79 100644 --- a/library/src/scala/annotation/internal/Body.scala +++ b/library/src/scala/annotation/internal/Body.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/Child.scala b/library/src/scala/annotation/internal/Child.scala index 208f471135d5..743749ca3a69 100644 --- a/library/src/scala/annotation/internal/Child.scala +++ b/library/src/scala/annotation/internal/Child.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/Repeated.scala b/library/src/scala/annotation/internal/Repeated.scala index 75eb3bc25f1a..6b0eb6a2800f 100644 --- a/library/src/scala/annotation/internal/Repeated.scala +++ b/library/src/scala/annotation/internal/Repeated.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/SourceFile.scala b/library/src/scala/annotation/internal/SourceFile.scala index b203869cf383..076a9a7e86a9 100644 --- a/library/src/scala/annotation/internal/SourceFile.scala +++ b/library/src/scala/annotation/internal/SourceFile.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/TASTYLongSignature.java b/library/src/scala/annotation/internal/TASTYLongSignature.java index 2278da258a5d..56500ded2758 100644 --- a/library/src/scala/annotation/internal/TASTYLongSignature.java +++ b/library/src/scala/annotation/internal/TASTYLongSignature.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal; import java.lang.annotation.ElementType; diff --git a/library/src/scala/annotation/internal/TASTYSignature.java b/library/src/scala/annotation/internal/TASTYSignature.java index a6372f008397..4b7fea3f3194 100644 --- a/library/src/scala/annotation/internal/TASTYSignature.java +++ b/library/src/scala/annotation/internal/TASTYSignature.java @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal; import java.lang.annotation.ElementType; diff --git a/library/src/scala/annotation/internal/TransparentParam.scala b/library/src/scala/annotation/internal/TransparentParam.scala index 0b3649e89da9..a806f726afb2 100644 --- a/library/src/scala/annotation/internal/TransparentParam.scala +++ b/library/src/scala/annotation/internal/TransparentParam.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/sharable.scala b/library/src/scala/annotation/internal/sharable.scala index e2d6dcc61beb..17e00c661f2c 100644 --- a/library/src/scala/annotation/internal/sharable.scala +++ b/library/src/scala/annotation/internal/sharable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/internal/unshared.scala b/library/src/scala/annotation/internal/unshared.scala index 89796eba09e3..46cd2cd804b5 100644 --- a/library/src/scala/annotation/internal/unshared.scala +++ b/library/src/scala/annotation/internal/unshared.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation.internal import scala.annotation.Annotation diff --git a/library/src/scala/annotation/static.scala b/library/src/scala/annotation/static.scala index b00072b18908..6223bd86835c 100644 --- a/library/src/scala/annotation/static.scala +++ b/library/src/scala/annotation/static.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.annotation import scala.annotation.meta._ diff --git a/library/src/scala/compat/java8/JFunction.java b/library/src/scala/compat/java8/JFunction.java index d68805d08f15..c0df8831d633 100644 --- a/library/src/scala/compat/java8/JFunction.java +++ b/library/src/scala/compat/java8/JFunction.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcB$sp.java b/library/src/scala/compat/java8/JFunction0$mcB$sp.java index 354667b63c16..32f87179558e 100644 --- a/library/src/scala/compat/java8/JFunction0$mcB$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcB$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcC$sp.java b/library/src/scala/compat/java8/JFunction0$mcC$sp.java index 85c1d25e85a2..88e7cfb529ca 100644 --- a/library/src/scala/compat/java8/JFunction0$mcC$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcC$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcD$sp.java b/library/src/scala/compat/java8/JFunction0$mcD$sp.java index e430cddd77bb..37774e4d9146 100644 --- a/library/src/scala/compat/java8/JFunction0$mcD$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcF$sp.java b/library/src/scala/compat/java8/JFunction0$mcF$sp.java index e839d1edf5e1..1bc445f703cd 100644 --- a/library/src/scala/compat/java8/JFunction0$mcF$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcI$sp.java b/library/src/scala/compat/java8/JFunction0$mcI$sp.java index 6d592a41edf6..6838c2b94dda 100644 --- a/library/src/scala/compat/java8/JFunction0$mcI$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcJ$sp.java b/library/src/scala/compat/java8/JFunction0$mcJ$sp.java index 8347b0df1a35..8110163b003d 100644 --- a/library/src/scala/compat/java8/JFunction0$mcJ$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcS$sp.java b/library/src/scala/compat/java8/JFunction0$mcS$sp.java index dede12cf1189..82ad0f1684b0 100644 --- a/library/src/scala/compat/java8/JFunction0$mcS$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcS$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcV$sp.java b/library/src/scala/compat/java8/JFunction0$mcV$sp.java index 933c9a28a43d..5ab0d05c29f0 100644 --- a/library/src/scala/compat/java8/JFunction0$mcV$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcV$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0$mcZ$sp.java b/library/src/scala/compat/java8/JFunction0$mcZ$sp.java index c51141b00d03..0943b74e4d38 100644 --- a/library/src/scala/compat/java8/JFunction0$mcZ$sp.java +++ b/library/src/scala/compat/java8/JFunction0$mcZ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction0.java b/library/src/scala/compat/java8/JFunction0.java index 4937d5578ea0..e5749aaeffaa 100644 --- a/library/src/scala/compat/java8/JFunction0.java +++ b/library/src/scala/compat/java8/JFunction0.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcDD$sp.java b/library/src/scala/compat/java8/JFunction1$mcDD$sp.java index 70d022190b71..79bc4b2131d1 100644 --- a/library/src/scala/compat/java8/JFunction1$mcDD$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcDF$sp.java b/library/src/scala/compat/java8/JFunction1$mcDF$sp.java index f2f9b9f4a2da..039902cc016b 100644 --- a/library/src/scala/compat/java8/JFunction1$mcDF$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcDF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcDI$sp.java b/library/src/scala/compat/java8/JFunction1$mcDI$sp.java index 69831d571d5e..f18cdf91dcd1 100644 --- a/library/src/scala/compat/java8/JFunction1$mcDI$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcDJ$sp.java b/library/src/scala/compat/java8/JFunction1$mcDJ$sp.java index 1ee4888915e0..1159d949c370 100644 --- a/library/src/scala/compat/java8/JFunction1$mcDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcFD$sp.java b/library/src/scala/compat/java8/JFunction1$mcFD$sp.java index a5ccf1f8636a..93f55644327b 100644 --- a/library/src/scala/compat/java8/JFunction1$mcFD$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcFD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcFF$sp.java b/library/src/scala/compat/java8/JFunction1$mcFF$sp.java index ae154e7594b4..004eb0051c8e 100644 --- a/library/src/scala/compat/java8/JFunction1$mcFF$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcFF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcFI$sp.java b/library/src/scala/compat/java8/JFunction1$mcFI$sp.java index 8df70b9bc1ba..76db8d5a3a72 100644 --- a/library/src/scala/compat/java8/JFunction1$mcFI$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcFI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcFJ$sp.java b/library/src/scala/compat/java8/JFunction1$mcFJ$sp.java index 5499557c4f13..1c62d08a397d 100644 --- a/library/src/scala/compat/java8/JFunction1$mcFJ$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcFJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcID$sp.java b/library/src/scala/compat/java8/JFunction1$mcID$sp.java index bea137f5e4d7..3c8925f7bc9e 100644 --- a/library/src/scala/compat/java8/JFunction1$mcID$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcIF$sp.java b/library/src/scala/compat/java8/JFunction1$mcIF$sp.java index 497b6288b930..f7cc6e7e70f2 100644 --- a/library/src/scala/compat/java8/JFunction1$mcIF$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcIF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcII$sp.java b/library/src/scala/compat/java8/JFunction1$mcII$sp.java index feea8ab7412c..d9c45824d575 100644 --- a/library/src/scala/compat/java8/JFunction1$mcII$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcIJ$sp.java b/library/src/scala/compat/java8/JFunction1$mcIJ$sp.java index 7da145410314..909ed3a3b268 100644 --- a/library/src/scala/compat/java8/JFunction1$mcIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcJD$sp.java b/library/src/scala/compat/java8/JFunction1$mcJD$sp.java index ab9e8b9c778a..d4a8dbbf5f71 100644 --- a/library/src/scala/compat/java8/JFunction1$mcJD$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcJF$sp.java b/library/src/scala/compat/java8/JFunction1$mcJF$sp.java index f664ffd14f0f..8781e1963cac 100644 --- a/library/src/scala/compat/java8/JFunction1$mcJF$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcJF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcJI$sp.java b/library/src/scala/compat/java8/JFunction1$mcJI$sp.java index 2914e4d66852..873fc2be6ada 100644 --- a/library/src/scala/compat/java8/JFunction1$mcJI$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcJJ$sp.java b/library/src/scala/compat/java8/JFunction1$mcJJ$sp.java index cf61bd20ff8b..336815bc5a8b 100644 --- a/library/src/scala/compat/java8/JFunction1$mcJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcVD$sp.java b/library/src/scala/compat/java8/JFunction1$mcVD$sp.java index eadc0ebd8a21..a64844cb0faa 100644 --- a/library/src/scala/compat/java8/JFunction1$mcVD$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcVD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcVF$sp.java b/library/src/scala/compat/java8/JFunction1$mcVF$sp.java index a684e83257db..2cf400084a2b 100644 --- a/library/src/scala/compat/java8/JFunction1$mcVF$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcVF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcVI$sp.java b/library/src/scala/compat/java8/JFunction1$mcVI$sp.java index 0e9fe5786d3b..f53be1cdb82b 100644 --- a/library/src/scala/compat/java8/JFunction1$mcVI$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcVI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcVJ$sp.java b/library/src/scala/compat/java8/JFunction1$mcVJ$sp.java index a3f3fb2a327a..ac5436f037e8 100644 --- a/library/src/scala/compat/java8/JFunction1$mcVJ$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcVJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcZD$sp.java b/library/src/scala/compat/java8/JFunction1$mcZD$sp.java index 8b4f880e55d6..9261b60e24c2 100644 --- a/library/src/scala/compat/java8/JFunction1$mcZD$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcZD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcZF$sp.java b/library/src/scala/compat/java8/JFunction1$mcZF$sp.java index 8e52ef672b26..32710e5b6801 100644 --- a/library/src/scala/compat/java8/JFunction1$mcZF$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcZF$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcZI$sp.java b/library/src/scala/compat/java8/JFunction1$mcZI$sp.java index 9ba30ee63841..7f311904daf1 100644 --- a/library/src/scala/compat/java8/JFunction1$mcZI$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcZI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1$mcZJ$sp.java b/library/src/scala/compat/java8/JFunction1$mcZJ$sp.java index f08b41c252d0..1e325ec889eb 100644 --- a/library/src/scala/compat/java8/JFunction1$mcZJ$sp.java +++ b/library/src/scala/compat/java8/JFunction1$mcZJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction1.java b/library/src/scala/compat/java8/JFunction1.java index ed22c91eb96f..3fde36bc9c54 100644 --- a/library/src/scala/compat/java8/JFunction1.java +++ b/library/src/scala/compat/java8/JFunction1.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction10.java b/library/src/scala/compat/java8/JFunction10.java index 63e392a8e449..21d60aa1af2f 100644 --- a/library/src/scala/compat/java8/JFunction10.java +++ b/library/src/scala/compat/java8/JFunction10.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction11.java b/library/src/scala/compat/java8/JFunction11.java index 0dd20546192b..ecab4163b7b9 100644 --- a/library/src/scala/compat/java8/JFunction11.java +++ b/library/src/scala/compat/java8/JFunction11.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction12.java b/library/src/scala/compat/java8/JFunction12.java index c992cc43f1b1..1030a6c17a22 100644 --- a/library/src/scala/compat/java8/JFunction12.java +++ b/library/src/scala/compat/java8/JFunction12.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction13.java b/library/src/scala/compat/java8/JFunction13.java index cca43006f26c..3dc6bf53c0f5 100644 --- a/library/src/scala/compat/java8/JFunction13.java +++ b/library/src/scala/compat/java8/JFunction13.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction14.java b/library/src/scala/compat/java8/JFunction14.java index 3e69530a603e..63ec0c322b14 100644 --- a/library/src/scala/compat/java8/JFunction14.java +++ b/library/src/scala/compat/java8/JFunction14.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction15.java b/library/src/scala/compat/java8/JFunction15.java index 76d70174c876..48c046e0512a 100644 --- a/library/src/scala/compat/java8/JFunction15.java +++ b/library/src/scala/compat/java8/JFunction15.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction16.java b/library/src/scala/compat/java8/JFunction16.java index c11b461f5495..9a1dcd50cbf7 100644 --- a/library/src/scala/compat/java8/JFunction16.java +++ b/library/src/scala/compat/java8/JFunction16.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction17.java b/library/src/scala/compat/java8/JFunction17.java index c088f9dce7d6..7f20ab37d26f 100644 --- a/library/src/scala/compat/java8/JFunction17.java +++ b/library/src/scala/compat/java8/JFunction17.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction18.java b/library/src/scala/compat/java8/JFunction18.java index 25600da3ffe1..97bd5f77633a 100644 --- a/library/src/scala/compat/java8/JFunction18.java +++ b/library/src/scala/compat/java8/JFunction18.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction19.java b/library/src/scala/compat/java8/JFunction19.java index cacc66d08e9e..f53d70b022ff 100644 --- a/library/src/scala/compat/java8/JFunction19.java +++ b/library/src/scala/compat/java8/JFunction19.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDDD$sp.java b/library/src/scala/compat/java8/JFunction2$mcDDD$sp.java index 25c00fa389ac..91688942e694 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDDD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDDI$sp.java b/library/src/scala/compat/java8/JFunction2$mcDDI$sp.java index 60c5ba09ea86..c02f72391629 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDDI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDDJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcDDJ$sp.java index 411f6344e142..204ae5ac7cfb 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDID$sp.java b/library/src/scala/compat/java8/JFunction2$mcDID$sp.java index 0421e7cf32d3..abb8763cbd98 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDID$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDII$sp.java b/library/src/scala/compat/java8/JFunction2$mcDII$sp.java index 0cffa4a58795..65b320b5c1ac 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDII$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDIJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcDIJ$sp.java index 7df47601509d..80b5659fded8 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDJD$sp.java b/library/src/scala/compat/java8/JFunction2$mcDJD$sp.java index 30022821af7c..bac1d749f837 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDJD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDJI$sp.java b/library/src/scala/compat/java8/JFunction2$mcDJI$sp.java index 43722952f6ab..412caf9de4ef 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDJI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcDJJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcDJJ$sp.java index f8cae017ac41..fe6b5d658dc8 100644 --- a/library/src/scala/compat/java8/JFunction2$mcDJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcDJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFDD$sp.java b/library/src/scala/compat/java8/JFunction2$mcFDD$sp.java index eab9f2b08f49..bb29222aeeed 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFDD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFDI$sp.java b/library/src/scala/compat/java8/JFunction2$mcFDI$sp.java index c7c589c329cc..c7b090a4410a 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFDI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFDJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcFDJ$sp.java index 0711b7323f90..3c54c434c3cd 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFID$sp.java b/library/src/scala/compat/java8/JFunction2$mcFID$sp.java index ddaa6d041be1..18c98575da55 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFID$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFII$sp.java b/library/src/scala/compat/java8/JFunction2$mcFII$sp.java index 81a864e780f8..2cc9d8a53955 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFII$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFIJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcFIJ$sp.java index 3e5d4a8fc28a..071fef30a696 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFJD$sp.java b/library/src/scala/compat/java8/JFunction2$mcFJD$sp.java index 40f999d39c39..ea920f47242f 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFJD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFJI$sp.java b/library/src/scala/compat/java8/JFunction2$mcFJI$sp.java index ffda55e5977c..b0d9a42a5d06 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFJI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcFJJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcFJJ$sp.java index 73585756fd62..21f7808e67a4 100644 --- a/library/src/scala/compat/java8/JFunction2$mcFJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcFJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIDD$sp.java b/library/src/scala/compat/java8/JFunction2$mcIDD$sp.java index 55a679cfaea1..29a36b4c0ec6 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIDD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIDI$sp.java b/library/src/scala/compat/java8/JFunction2$mcIDI$sp.java index 93bb1097f41d..e1c93d160248 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIDI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIDJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcIDJ$sp.java index 1f9da5b89b02..07049715103d 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIID$sp.java b/library/src/scala/compat/java8/JFunction2$mcIID$sp.java index 11010f979f85..d2e62e91a571 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIID$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIII$sp.java b/library/src/scala/compat/java8/JFunction2$mcIII$sp.java index 052c24879146..2d071b1cceb3 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIII$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIIJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcIIJ$sp.java index 08b4b7d81209..9246af452d7e 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIJD$sp.java b/library/src/scala/compat/java8/JFunction2$mcIJD$sp.java index 57781e32c481..0b1a57385446 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIJD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIJI$sp.java b/library/src/scala/compat/java8/JFunction2$mcIJI$sp.java index 468cbe15b5cf..160ca21b272e 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIJI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcIJJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcIJJ$sp.java index 842eb85f3840..62b47738a98a 100644 --- a/library/src/scala/compat/java8/JFunction2$mcIJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcIJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJDD$sp.java b/library/src/scala/compat/java8/JFunction2$mcJDD$sp.java index 3526b439bce9..8aeca9438ff4 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJDD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJDI$sp.java b/library/src/scala/compat/java8/JFunction2$mcJDI$sp.java index 437785cb0736..8523f6e628fc 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJDI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJDJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcJDJ$sp.java index 67bc4f239011..c6d519dc6a5e 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJID$sp.java b/library/src/scala/compat/java8/JFunction2$mcJID$sp.java index 1cf83f4611eb..35a46b93723a 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJID$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJII$sp.java b/library/src/scala/compat/java8/JFunction2$mcJII$sp.java index 1eee4266d747..fd81a6d15fc0 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJII$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJIJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcJIJ$sp.java index 105a311e6b30..bd2b42e5b3d2 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJJD$sp.java b/library/src/scala/compat/java8/JFunction2$mcJJD$sp.java index abb1341913a8..93a94bb97550 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJJD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJJI$sp.java b/library/src/scala/compat/java8/JFunction2$mcJJI$sp.java index eb2160d7c375..c46696d75072 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJJI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcJJJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcJJJ$sp.java index 6d0c50b59a3b..236aead8438d 100644 --- a/library/src/scala/compat/java8/JFunction2$mcJJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcJJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVDD$sp.java b/library/src/scala/compat/java8/JFunction2$mcVDD$sp.java index d84aaa614097..235da7b0c765 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVDD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVDI$sp.java b/library/src/scala/compat/java8/JFunction2$mcVDI$sp.java index 62fcfd5814a1..865a3ce8e234 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVDI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVDJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcVDJ$sp.java index 7df894603d51..cd65fd7a0120 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVID$sp.java b/library/src/scala/compat/java8/JFunction2$mcVID$sp.java index f97fe2ca8e13..406308063d0d 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVID$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVII$sp.java b/library/src/scala/compat/java8/JFunction2$mcVII$sp.java index 787b6ea8b9cc..3dffe3d3c4dc 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVII$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVIJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcVIJ$sp.java index 768924559fca..4a6106e2f216 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVJD$sp.java b/library/src/scala/compat/java8/JFunction2$mcVJD$sp.java index e5fa769fc58e..6d72433a1d7c 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVJD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVJI$sp.java b/library/src/scala/compat/java8/JFunction2$mcVJI$sp.java index 304e72943ee1..5173ebb88544 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVJI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcVJJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcVJJ$sp.java index 5c88bfa2833f..972008818e3a 100644 --- a/library/src/scala/compat/java8/JFunction2$mcVJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcVJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZDD$sp.java b/library/src/scala/compat/java8/JFunction2$mcZDD$sp.java index e271b7c22023..af839aa0b5d6 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZDD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZDD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZDI$sp.java b/library/src/scala/compat/java8/JFunction2$mcZDI$sp.java index e74d25cbcbe9..3c928436ed7b 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZDI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZDI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZDJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcZDJ$sp.java index bc05f8d36594..0b00f1d7f349 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZDJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZDJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZID$sp.java b/library/src/scala/compat/java8/JFunction2$mcZID$sp.java index 458cc6a1ef2e..56eb4f7cef24 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZID$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZID$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZII$sp.java b/library/src/scala/compat/java8/JFunction2$mcZII$sp.java index 2ae9684ecbd1..dad7f0799c4a 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZII$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZII$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZIJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcZIJ$sp.java index f8074eb4b6a9..760404e1324d 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZIJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZIJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZJD$sp.java b/library/src/scala/compat/java8/JFunction2$mcZJD$sp.java index b091ff62da70..9514538cd753 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZJD$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZJD$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZJI$sp.java b/library/src/scala/compat/java8/JFunction2$mcZJI$sp.java index 6f820cd6bd9c..728398aa39d8 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZJI$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZJI$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2$mcZJJ$sp.java b/library/src/scala/compat/java8/JFunction2$mcZJJ$sp.java index 69bf5636270f..45da879e1633 100644 --- a/library/src/scala/compat/java8/JFunction2$mcZJJ$sp.java +++ b/library/src/scala/compat/java8/JFunction2$mcZJJ$sp.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction2.java b/library/src/scala/compat/java8/JFunction2.java index 5ece8c62aea7..f3ea89c87147 100644 --- a/library/src/scala/compat/java8/JFunction2.java +++ b/library/src/scala/compat/java8/JFunction2.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction20.java b/library/src/scala/compat/java8/JFunction20.java index f34574f7f77f..955a5519e7c9 100644 --- a/library/src/scala/compat/java8/JFunction20.java +++ b/library/src/scala/compat/java8/JFunction20.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction21.java b/library/src/scala/compat/java8/JFunction21.java index 0af8db2db3b7..0c8b1e5e2b7d 100644 --- a/library/src/scala/compat/java8/JFunction21.java +++ b/library/src/scala/compat/java8/JFunction21.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction22.java b/library/src/scala/compat/java8/JFunction22.java index fcd83a05fefd..4c5aa87b5bc0 100644 --- a/library/src/scala/compat/java8/JFunction22.java +++ b/library/src/scala/compat/java8/JFunction22.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction3.java b/library/src/scala/compat/java8/JFunction3.java index 9122f68198c9..974a7a336e99 100644 --- a/library/src/scala/compat/java8/JFunction3.java +++ b/library/src/scala/compat/java8/JFunction3.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction4.java b/library/src/scala/compat/java8/JFunction4.java index d7356a0f8f32..0d61d4db3f5c 100644 --- a/library/src/scala/compat/java8/JFunction4.java +++ b/library/src/scala/compat/java8/JFunction4.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction5.java b/library/src/scala/compat/java8/JFunction5.java index 1e0414bc5dce..f792b209046b 100644 --- a/library/src/scala/compat/java8/JFunction5.java +++ b/library/src/scala/compat/java8/JFunction5.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction6.java b/library/src/scala/compat/java8/JFunction6.java index 112c21cbe977..71b6c6a391e5 100644 --- a/library/src/scala/compat/java8/JFunction6.java +++ b/library/src/scala/compat/java8/JFunction6.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction7.java b/library/src/scala/compat/java8/JFunction7.java index 1f59bc7affd9..4fb6f65a5299 100644 --- a/library/src/scala/compat/java8/JFunction7.java +++ b/library/src/scala/compat/java8/JFunction7.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction8.java b/library/src/scala/compat/java8/JFunction8.java index 10825347af38..ba0c20b02b18 100644 --- a/library/src/scala/compat/java8/JFunction8.java +++ b/library/src/scala/compat/java8/JFunction8.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JFunction9.java b/library/src/scala/compat/java8/JFunction9.java index 02fe323c56c6..9334534fc236 100644 --- a/library/src/scala/compat/java8/JFunction9.java +++ b/library/src/scala/compat/java8/JFunction9.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure0.java b/library/src/scala/compat/java8/JProcedure0.java index 8361252c63a1..390890138871 100644 --- a/library/src/scala/compat/java8/JProcedure0.java +++ b/library/src/scala/compat/java8/JProcedure0.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure1.java b/library/src/scala/compat/java8/JProcedure1.java index 189e451cd0d3..b7972affb04b 100644 --- a/library/src/scala/compat/java8/JProcedure1.java +++ b/library/src/scala/compat/java8/JProcedure1.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure10.java b/library/src/scala/compat/java8/JProcedure10.java index 63a7543c5c0d..bd4ddb6b95bc 100644 --- a/library/src/scala/compat/java8/JProcedure10.java +++ b/library/src/scala/compat/java8/JProcedure10.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure11.java b/library/src/scala/compat/java8/JProcedure11.java index 1f530fba9699..5854d5f64cc2 100644 --- a/library/src/scala/compat/java8/JProcedure11.java +++ b/library/src/scala/compat/java8/JProcedure11.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure12.java b/library/src/scala/compat/java8/JProcedure12.java index 454868e664a6..2ce9d3dcc120 100644 --- a/library/src/scala/compat/java8/JProcedure12.java +++ b/library/src/scala/compat/java8/JProcedure12.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure13.java b/library/src/scala/compat/java8/JProcedure13.java index 4db2cd866931..8f0a7f34ab53 100644 --- a/library/src/scala/compat/java8/JProcedure13.java +++ b/library/src/scala/compat/java8/JProcedure13.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure14.java b/library/src/scala/compat/java8/JProcedure14.java index 9d1c4b89faa2..8855e315864d 100644 --- a/library/src/scala/compat/java8/JProcedure14.java +++ b/library/src/scala/compat/java8/JProcedure14.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure15.java b/library/src/scala/compat/java8/JProcedure15.java index c49f042e7158..2803ed7d2f30 100644 --- a/library/src/scala/compat/java8/JProcedure15.java +++ b/library/src/scala/compat/java8/JProcedure15.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure16.java b/library/src/scala/compat/java8/JProcedure16.java index aad602dfa972..fcab4ed58cf5 100644 --- a/library/src/scala/compat/java8/JProcedure16.java +++ b/library/src/scala/compat/java8/JProcedure16.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure17.java b/library/src/scala/compat/java8/JProcedure17.java index cdc30b9ee7a6..cdb483f8ccd9 100644 --- a/library/src/scala/compat/java8/JProcedure17.java +++ b/library/src/scala/compat/java8/JProcedure17.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure18.java b/library/src/scala/compat/java8/JProcedure18.java index 2e03d8f807de..a663a21d3ddf 100644 --- a/library/src/scala/compat/java8/JProcedure18.java +++ b/library/src/scala/compat/java8/JProcedure18.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure19.java b/library/src/scala/compat/java8/JProcedure19.java index 5e4fcb9aa1e3..08844d60e607 100644 --- a/library/src/scala/compat/java8/JProcedure19.java +++ b/library/src/scala/compat/java8/JProcedure19.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure2.java b/library/src/scala/compat/java8/JProcedure2.java index 36e84d8ddd98..9da448d6aadd 100644 --- a/library/src/scala/compat/java8/JProcedure2.java +++ b/library/src/scala/compat/java8/JProcedure2.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure20.java b/library/src/scala/compat/java8/JProcedure20.java index d6598c312ab2..213d3159b72f 100644 --- a/library/src/scala/compat/java8/JProcedure20.java +++ b/library/src/scala/compat/java8/JProcedure20.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure21.java b/library/src/scala/compat/java8/JProcedure21.java index c85cb540cef2..a75ea8a26138 100644 --- a/library/src/scala/compat/java8/JProcedure21.java +++ b/library/src/scala/compat/java8/JProcedure21.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure22.java b/library/src/scala/compat/java8/JProcedure22.java index a1653ae61140..745ec121ef03 100644 --- a/library/src/scala/compat/java8/JProcedure22.java +++ b/library/src/scala/compat/java8/JProcedure22.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure3.java b/library/src/scala/compat/java8/JProcedure3.java index f2b1e498a565..31562dd4878d 100644 --- a/library/src/scala/compat/java8/JProcedure3.java +++ b/library/src/scala/compat/java8/JProcedure3.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure4.java b/library/src/scala/compat/java8/JProcedure4.java index 7a3457b57069..53067870f13b 100644 --- a/library/src/scala/compat/java8/JProcedure4.java +++ b/library/src/scala/compat/java8/JProcedure4.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure5.java b/library/src/scala/compat/java8/JProcedure5.java index e9d25854ae76..208a62962e31 100644 --- a/library/src/scala/compat/java8/JProcedure5.java +++ b/library/src/scala/compat/java8/JProcedure5.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure6.java b/library/src/scala/compat/java8/JProcedure6.java index d1675bd24410..bbbe9b4e6e7f 100644 --- a/library/src/scala/compat/java8/JProcedure6.java +++ b/library/src/scala/compat/java8/JProcedure6.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure7.java b/library/src/scala/compat/java8/JProcedure7.java index 1348e051bef3..cabd787c0098 100644 --- a/library/src/scala/compat/java8/JProcedure7.java +++ b/library/src/scala/compat/java8/JProcedure7.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure8.java b/library/src/scala/compat/java8/JProcedure8.java index df944ca6e87a..3a701a6a1dd9 100644 --- a/library/src/scala/compat/java8/JProcedure8.java +++ b/library/src/scala/compat/java8/JProcedure8.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/compat/java8/JProcedure9.java b/library/src/scala/compat/java8/JProcedure9.java index 47ad5d23425f..bb76cc4f89a6 100644 --- a/library/src/scala/compat/java8/JProcedure9.java +++ b/library/src/scala/compat/java8/JProcedure9.java @@ -1,3 +1,14 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ /* * Copyright (C) 2012-2014 Typesafe Inc. diff --git a/library/src/scala/forceInline.scala b/library/src/scala/forceInline.scala index b08f18fa4542..06da1367fea9 100644 --- a/library/src/scala/forceInline.scala +++ b/library/src/scala/forceInline.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala /** An annotation on methods that is equivalent to Dotty `inline` modifier, diff --git a/library/src/scala/implicits/Not.scala b/library/src/scala/implicits/Not.scala index 6c06444145fc..12f5eb08ff3d 100644 --- a/library/src/scala/implicits/Not.scala +++ b/library/src/scala/implicits/Not.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.implicits /** A special class used to implement negation in implicit search. diff --git a/library/src/scala/quoted/Expr.scala b/library/src/scala/quoted/Expr.scala index eda1fb984802..ce96d27df008 100644 --- a/library/src/scala/quoted/Expr.scala +++ b/library/src/scala/quoted/Expr.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.quoted import scala.runtime.quoted.Unpickler.Pickled diff --git a/library/src/scala/quoted/Liftable.scala b/library/src/scala/quoted/Liftable.scala index 871fde9ee6c0..8fbe6672c327 100644 --- a/library/src/scala/quoted/Liftable.scala +++ b/library/src/scala/quoted/Liftable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.quoted import scala.runtime.quoted.Unpickler.liftedExpr diff --git a/library/src/scala/quoted/QuoteError.scala b/library/src/scala/quoted/QuoteError.scala index fbd85e51411d..942f9036e702 100644 --- a/library/src/scala/quoted/QuoteError.scala +++ b/library/src/scala/quoted/QuoteError.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.quoted /** Throwing this error in the implementation of a macro diff --git a/library/src/scala/quoted/Toolbox.scala b/library/src/scala/quoted/Toolbox.scala index 7fab42b308de..7243be4a36e9 100644 --- a/library/src/scala/quoted/Toolbox.scala +++ b/library/src/scala/quoted/Toolbox.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.quoted import scala.annotation.implicitNotFound diff --git a/library/src/scala/quoted/Type.scala b/library/src/scala/quoted/Type.scala index 9eeed775ad69..a6d5a4edb378 100644 --- a/library/src/scala/quoted/Type.scala +++ b/library/src/scala/quoted/Type.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.quoted import scala.quoted.Types.TaggedType diff --git a/library/src/scala/reflect/Selectable.scala b/library/src/scala/reflect/Selectable.scala index 2cab4424ea19..329ba3f42d63 100644 --- a/library/src/scala/reflect/Selectable.scala +++ b/library/src/scala/reflect/Selectable.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.reflect class Selectable(val receiver: Any) extends AnyVal with scala.Selectable { diff --git a/library/src/scala/runtime/EnumValues.scala b/library/src/scala/runtime/EnumValues.scala index 64901512cad1..5b2898baacca 100644 --- a/library/src/scala/runtime/EnumValues.scala +++ b/library/src/scala/runtime/EnumValues.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.runtime import scala.collection.immutable.Map diff --git a/library/src/scala/runtime/quoted/Unpickler.scala b/library/src/scala/runtime/quoted/Unpickler.scala index ac4466b35fa5..66136c7bbad7 100644 --- a/library/src/scala/runtime/quoted/Unpickler.scala +++ b/library/src/scala/runtime/quoted/Unpickler.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.runtime.quoted import scala.quoted.Types.TastyType diff --git a/library/src/scala/tasty/Reflection.scala b/library/src/scala/tasty/Reflection.scala index a512c990798d..7221d00aca19 100644 --- a/library/src/scala/tasty/Reflection.scala +++ b/library/src/scala/tasty/Reflection.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty import scala.tasty.reflect._ diff --git a/library/src/scala/tasty/TastyTypecheckError.scala b/library/src/scala/tasty/TastyTypecheckError.scala index 3fdeac37ae37..13b28ca4c08c 100644 --- a/library/src/scala/tasty/TastyTypecheckError.scala +++ b/library/src/scala/tasty/TastyTypecheckError.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty class TastyTypecheckError(msg: String) extends Throwable(msg) diff --git a/library/src/scala/tasty/file/ConsumeTasty.scala b/library/src/scala/tasty/file/ConsumeTasty.scala index 5a2892242d99..5149641161b9 100644 --- a/library/src/scala/tasty/file/ConsumeTasty.scala +++ b/library/src/scala/tasty/file/ConsumeTasty.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.file object ConsumeTasty { diff --git a/library/src/scala/tasty/file/TastyConsumer.scala b/library/src/scala/tasty/file/TastyConsumer.scala index 50ab240436f2..f6fd2378b525 100644 --- a/library/src/scala/tasty/file/TastyConsumer.scala +++ b/library/src/scala/tasty/file/TastyConsumer.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.file import scala.tasty.Reflection diff --git a/library/src/scala/tasty/reflect/CaseDefOps.scala b/library/src/scala/tasty/reflect/CaseDefOps.scala index 866179aa8c3f..125765f0b7bc 100644 --- a/library/src/scala/tasty/reflect/CaseDefOps.scala +++ b/library/src/scala/tasty/reflect/CaseDefOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/ConstantOps.scala b/library/src/scala/tasty/reflect/ConstantOps.scala index 920a07ad64a8..c0656e8244eb 100644 --- a/library/src/scala/tasty/reflect/ConstantOps.scala +++ b/library/src/scala/tasty/reflect/ConstantOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/ContextOps.scala b/library/src/scala/tasty/reflect/ContextOps.scala index 44fcf77aadcd..cdb4f8aa5824 100644 --- a/library/src/scala/tasty/reflect/ContextOps.scala +++ b/library/src/scala/tasty/reflect/ContextOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/Core.scala b/library/src/scala/tasty/reflect/Core.scala index c77e306144f5..0e57a93ba34f 100644 --- a/library/src/scala/tasty/reflect/Core.scala +++ b/library/src/scala/tasty/reflect/Core.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.reflect // Keep doc in syncwith docs/docs/reference/tasty-reflect.md diff --git a/library/src/scala/tasty/reflect/FlagsOps.scala b/library/src/scala/tasty/reflect/FlagsOps.scala index afc413cddf46..57203a87dc2a 100644 --- a/library/src/scala/tasty/reflect/FlagsOps.scala +++ b/library/src/scala/tasty/reflect/FlagsOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.reflect trait FlagsOps extends Core { diff --git a/library/src/scala/tasty/reflect/IdOps.scala b/library/src/scala/tasty/reflect/IdOps.scala index be4b0c13a547..3e39b827601b 100644 --- a/library/src/scala/tasty/reflect/IdOps.scala +++ b/library/src/scala/tasty/reflect/IdOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/ImportSelectorOps.scala b/library/src/scala/tasty/reflect/ImportSelectorOps.scala index 898cdb54fd6c..bade9d835525 100644 --- a/library/src/scala/tasty/reflect/ImportSelectorOps.scala +++ b/library/src/scala/tasty/reflect/ImportSelectorOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/PatternOps.scala b/library/src/scala/tasty/reflect/PatternOps.scala index 0ad4d7307dd0..4bd83c1a7147 100644 --- a/library/src/scala/tasty/reflect/PatternOps.scala +++ b/library/src/scala/tasty/reflect/PatternOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/PositionOps.scala b/library/src/scala/tasty/reflect/PositionOps.scala index aba9fd344a02..09e89bee7876 100644 --- a/library/src/scala/tasty/reflect/PositionOps.scala +++ b/library/src/scala/tasty/reflect/PositionOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.reflect trait PositionOps extends Core { diff --git a/library/src/scala/tasty/reflect/Printers.scala b/library/src/scala/tasty/reflect/Printers.scala index 2c6706f248fe..b1f174d8a0b5 100644 --- a/library/src/scala/tasty/reflect/Printers.scala +++ b/library/src/scala/tasty/reflect/Printers.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/QuotedOps.scala b/library/src/scala/tasty/reflect/QuotedOps.scala index 65958da3d01f..4b56130c7c02 100644 --- a/library/src/scala/tasty/reflect/QuotedOps.scala +++ b/library/src/scala/tasty/reflect/QuotedOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.reflect /** Extension methods on scala.quoted.{Expr|Type} to convert to scala.tasty.Tasty objects */ diff --git a/library/src/scala/tasty/reflect/SettingsOps.scala b/library/src/scala/tasty/reflect/SettingsOps.scala index 021fa4bb7f3a..32821bdc3865 100644 --- a/library/src/scala/tasty/reflect/SettingsOps.scala +++ b/library/src/scala/tasty/reflect/SettingsOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.reflect trait SettingsOps extends Core { diff --git a/library/src/scala/tasty/reflect/SignatureOps.scala b/library/src/scala/tasty/reflect/SignatureOps.scala index 7ddf56461bc9..36dd2887e122 100644 --- a/library/src/scala/tasty/reflect/SignatureOps.scala +++ b/library/src/scala/tasty/reflect/SignatureOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.reflect trait SignatureOps extends Core { diff --git a/library/src/scala/tasty/reflect/StandardDefinitions.scala b/library/src/scala/tasty/reflect/StandardDefinitions.scala index 549461053b0e..5899c903e816 100644 --- a/library/src/scala/tasty/reflect/StandardDefinitions.scala +++ b/library/src/scala/tasty/reflect/StandardDefinitions.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/SymbolOps.scala b/library/src/scala/tasty/reflect/SymbolOps.scala index e1915c9da180..6eadb8eb18ac 100644 --- a/library/src/scala/tasty/reflect/SymbolOps.scala +++ b/library/src/scala/tasty/reflect/SymbolOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/TreeOps.scala b/library/src/scala/tasty/reflect/TreeOps.scala index be45b19e8f02..24fe6c442193 100644 --- a/library/src/scala/tasty/reflect/TreeOps.scala +++ b/library/src/scala/tasty/reflect/TreeOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/TreeUtils.scala b/library/src/scala/tasty/reflect/TreeUtils.scala index 5abd2bb78586..12734de24368 100644 --- a/library/src/scala/tasty/reflect/TreeUtils.scala +++ b/library/src/scala/tasty/reflect/TreeUtils.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/TypeOrBoundsOps.scala b/library/src/scala/tasty/reflect/TypeOrBoundsOps.scala index f6f3ed7b3182..83a58daa0bf4 100644 --- a/library/src/scala/tasty/reflect/TypeOrBoundsOps.scala +++ b/library/src/scala/tasty/reflect/TypeOrBoundsOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/reflect/TypeOrBoundsTreeOps.scala b/library/src/scala/tasty/reflect/TypeOrBoundsTreeOps.scala index 2d69c48a8929..bc6ef5ce2364 100644 --- a/library/src/scala/tasty/reflect/TypeOrBoundsTreeOps.scala +++ b/library/src/scala/tasty/reflect/TypeOrBoundsTreeOps.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package reflect diff --git a/library/src/scala/tasty/util/Chars.scala b/library/src/scala/tasty/util/Chars.scala index 433b94e868a7..71cb3be90278 100644 --- a/library/src/scala/tasty/util/Chars.scala +++ b/library/src/scala/tasty/util/Chars.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.util import scala.annotation.switch diff --git a/library/src/scala/tasty/util/ConstantExtractor.scala b/library/src/scala/tasty/util/ConstantExtractor.scala index b4fb7294c090..98e248bf8c55 100644 --- a/library/src/scala/tasty/util/ConstantExtractor.scala +++ b/library/src/scala/tasty/util/ConstantExtractor.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty.util import scala.quoted.Expr diff --git a/library/src/scala/tasty/util/SyntaxHighlightUtils.scala b/library/src/scala/tasty/util/SyntaxHighlightUtils.scala index d19c700a3e90..b09f89358fe0 100644 --- a/library/src/scala/tasty/util/SyntaxHighlightUtils.scala +++ b/library/src/scala/tasty/util/SyntaxHighlightUtils.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scala.tasty package util diff --git a/library/src/scalaShadowing/language.scala b/library/src/scalaShadowing/language.scala index 50d2bf069c04..a642b37d7468 100644 --- a/library/src/scalaShadowing/language.scala +++ b/library/src/scalaShadowing/language.scala @@ -1,10 +1,15 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003-2015, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package scalaShadowing /** diff --git a/project/Build.scala b/project/Build.scala index c96baabf0c9c..f19eb3b829bc 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -25,6 +25,8 @@ import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._ import sbtbuildinfo.BuildInfoPlugin import sbtbuildinfo.BuildInfoPlugin.autoImport._ +import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport._ + import scala.util.Properties.isJavaAtLeast /* In sbt 0.13 the Build trait would expose all vals to the shell, where you @@ -53,7 +55,6 @@ object Build { val dottyOrganization = "ch.epfl.lamp" val dottyGithubUrl = "https://github.com/lampepfl/dotty" - val isRelease = sys.env.get("RELEASEBUILD") == Some("yes") val dottyVersion = { @@ -206,7 +207,23 @@ object Build { libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test, // enable verbose exception messages for JUnit - testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v") + testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"), + + // Definition of the license header, used by the sbt-header plugin + homepage := Some(url("https://dotty.epfl.ch/")), + licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt")), + headerLicense := Some(HeaderLicense.Custom( + s"""Dotty (${homepage.value.get}) + | + |Copyright EPFL and Lightbend, Inc. + | + |Licensed under Apache License 2.0 + |(https://www.apache.org/licenses/LICENSE-2.0). + | + |See the NOTICE file distributed with this work for + |additional information regarding copyright ownership. + |""".stripMargin + )) ) // Settings used for projects compiled only with Scala 2 @@ -1096,8 +1113,6 @@ object Build { ), publishArtifact in Test := false, homepage := Some(url(dottyGithubUrl)), - licenses += ("BSD New", - url(s"$dottyGithubUrl/blob/master/LICENSE.md")), scmInfo := Some( ScmInfo( url(dottyGithubUrl), diff --git a/project/plugins.sbt b/project/plugins.sbt index 0d59bb27f966..d7702827741c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -16,3 +16,5 @@ addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.10.1") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.2") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0") + +addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0") diff --git a/sbt-bridge/src/xsbt/CompilerClassLoader.scala b/sbt-bridge/src/xsbt/CompilerClassLoader.scala index 071141dcfac3..71ce90006d2d 100644 --- a/sbt-bridge/src/xsbt/CompilerClassLoader.scala +++ b/sbt-bridge/src/xsbt/CompilerClassLoader.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package xsbt import java.net.{URL, URLClassLoader} diff --git a/sbt-bridge/src/xsbt/CompilerInterface.scala b/sbt-bridge/src/xsbt/CompilerInterface.scala index ac828b996957..164d29b7e038 100644 --- a/sbt-bridge/src/xsbt/CompilerInterface.scala +++ b/sbt-bridge/src/xsbt/CompilerInterface.scala @@ -1,6 +1,15 @@ -/* sbt -- Simple Build Tool - * Copyright 2008, 2009 Mark Harrah +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package xsbt import xsbti.{ AnalysisCallback, Logger, Reporter, Severity } diff --git a/sbt-bridge/src/xsbt/ConsoleInterface.scala b/sbt-bridge/src/xsbt/ConsoleInterface.scala index 34004528fea4..aa2884e30e84 100644 --- a/sbt-bridge/src/xsbt/ConsoleInterface.scala +++ b/sbt-bridge/src/xsbt/ConsoleInterface.scala @@ -1,6 +1,15 @@ -/* sbt -- Simple Build Tool - * Copyright 2008, 2009 Mark Harrah +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package xsbt import xsbti.Logger diff --git a/sbt-bridge/src/xsbt/DelegatingReporter.scala b/sbt-bridge/src/xsbt/DelegatingReporter.scala index d97af019837d..bfaf148d51e8 100644 --- a/sbt-bridge/src/xsbt/DelegatingReporter.scala +++ b/sbt-bridge/src/xsbt/DelegatingReporter.scala @@ -1,6 +1,15 @@ -/* sbt -- Simple Build Tool - * Copyright 2008, 2009 Mark Harrah +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package xsbt import dotty.tools._ diff --git a/sbt-bridge/src/xsbt/Problem.scala b/sbt-bridge/src/xsbt/Problem.scala index 991dbc2bf308..b58310f00792 100644 --- a/sbt-bridge/src/xsbt/Problem.scala +++ b/sbt-bridge/src/xsbt/Problem.scala @@ -1,3 +1,15 @@ +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + */ + package xsbt import java.util.Optional diff --git a/sbt-bridge/src/xsbt/ScaladocInterface.scala b/sbt-bridge/src/xsbt/ScaladocInterface.scala index 09e785f3c4a6..bbd1b7a2a2dd 100644 --- a/sbt-bridge/src/xsbt/ScaladocInterface.scala +++ b/sbt-bridge/src/xsbt/ScaladocInterface.scala @@ -1,6 +1,15 @@ -/* sbt -- Simple Build Tool - * Copyright 2008, 2009 Mark Harrah +/* + * Dotty (https://dotty.epfl.ch/) + * + * Copyright EPFL and Lightbend, Inc. + * + * Licensed under Apache License 2.0 + * (https://www.apache.org/licenses/LICENSE-2.0). + * + * See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. */ + package xsbt import xsbti.{ Logger, Severity } diff --git a/vscode-dotty/package.json b/vscode-dotty/package.json index d1d864cb5fb4..f5d78af06903 100644 --- a/vscode-dotty/package.json +++ b/vscode-dotty/package.json @@ -3,7 +3,7 @@ "displayName": "Dotty Language Server", "description": "IDE integration for Dotty, the experimental Scala compiler", "version": "0.1.13-snapshot", - "license": "BSD-3-Clause", + "license": "Apache-2.0", "publisher": "lampepfl", "repository": { "type": "git",