From e255230011d9b6637c20ac3548144f60f5fd0005 Mon Sep 17 00:00:00 2001 From: Pavel Talanov Date: Tue, 21 Feb 2012 19:14:24 +0400 Subject: [PATCH] copyright added --- .idea/copyright/apache.xml | 9 +++++++++ .../src/html5/creatures/creatures.js | 16 ++++++++++++++++ .../src/html5/creatures/template.html | 16 ++++++++++++++++ .../src/html5/fancyLines/fancylines.js | 16 ++++++++++++++++ .../src/html5/fancyLines/template.html | 16 ++++++++++++++++ .../src/html5/floatingText/hello.js | 16 ++++++++++++++++ .../src/html5/floatingText/template.html | 16 ++++++++++++++++ .../src/html5/interactive/interactive.js | 16 ++++++++++++++++ .../src/html5/interactive/template.html | 16 ++++++++++++++++ .../src/html5/interactive/template_copy.html | 16 ++++++++++++++++ .../src/html5/interactive/tutorial.js | 16 ++++++++++++++++ .../src/html5/interactive2/interactive2.js | 16 ++++++++++++++++ .../src/html5/interactive2/template.html | 16 ++++++++++++++++ jslib/src/core/Dummy.java | 16 ++++++++++++++++ .../src/org/jetbrains/k2js/analyze/Analyzer.java | 16 ++++++++++++++++ .../src/org/jetbrains/k2js/config/Config.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/config/IDEAConfig.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/config/TestConfig.java | 16 ++++++++++++++++ .../jetbrains/k2js/facade/K2JSTranslator.java | 16 ++++++++++++++++ .../k2js/facade/K2JSTranslatorUtils.java | 16 ++++++++++++++++ .../jetbrains/k2js/generate/CodeGenerator.java | 16 ++++++++++++++++ .../k2js/translate/context/Aliaser.java | 16 ++++++++++++++++ .../k2js/translate/context/DynamicContext.java | 16 ++++++++++++++++ .../jetbrains/k2js/translate/context/Namer.java | 16 ++++++++++++++++ .../k2js/translate/context/NamingScope.java | 16 ++++++++++++++++ .../k2js/translate/context/StandardClasses.java | 16 ++++++++++++++++ .../k2js/translate/context/StaticContext.java | 16 ++++++++++++++++ .../translate/context/TemporaryVariable.java | 16 ++++++++++++++++ .../translate/context/TranslationContext.java | 16 ++++++++++++++++ .../translate/context/generator/Generator.java | 16 ++++++++++++++++ .../k2js/translate/context/generator/Rule.java | 16 ++++++++++++++++ .../declaration/ClassDeclarationTranslator.java | 16 ++++++++++++++++ .../translate/declaration/ClassTranslator.java | 16 ++++++++++++++++ .../declaration/DeclarationBodyVisitor.java | 16 ++++++++++++++++ .../NamespaceDeclarationTranslator.java | 16 ++++++++++++++++ .../declaration/NamespaceTranslator.java | 16 ++++++++++++++++ .../declaration/PropertyTranslator.java | 16 ++++++++++++++++ .../translate/expression/ExpressionVisitor.java | 16 ++++++++++++++++ .../k2js/translate/expression/ForTranslator.java | 16 ++++++++++++++++ .../translate/expression/FunctionTranslator.java | 16 ++++++++++++++++ .../translate/expression/PatternTranslator.java | 16 ++++++++++++++++ .../expression/StringTemplateTranslator.java | 16 ++++++++++++++++ .../k2js/translate/expression/TryTranslator.java | 16 ++++++++++++++++ .../translate/expression/WhenTranslator.java | 16 ++++++++++++++++ .../translate/general/AbstractTranslator.java | 16 ++++++++++++++++ .../k2js/translate/general/Translation.java | 16 ++++++++++++++++ .../translate/general/TranslatorVisitor.java | 16 ++++++++++++++++ .../AbstractInitializerTranslator.java | 16 ++++++++++++++++ .../initializer/ClassInitializerTranslator.java | 16 ++++++++++++++++ .../initializer/InitializerVisitor.java | 16 ++++++++++++++++ .../NamespaceInitializerTranslator.java | 16 ++++++++++++++++ .../translate/intrinsic/CompareToIntrinsic.java | 16 ++++++++++++++++ .../translate/intrinsic/EqualsIntrinsic.java | 16 ++++++++++++++++ .../translate/intrinsic/FunctionIntrinsic.java | 16 ++++++++++++++++ .../k2js/translate/intrinsic/Intrinsic.java | 16 ++++++++++++++++ .../k2js/translate/intrinsic/Intrinsics.java | 16 ++++++++++++++++ .../array/ArrayFunctionConstructorIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/array/ArrayGetIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/array/ArrayIndicesIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/array/ArrayIteratorIntrinsic.java | 16 ++++++++++++++++ .../array/ArrayNullConstructorIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/array/ArraySetIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/array/ArraySizeIntrinsic.java | 16 ++++++++++++++++ .../PrimitiveBinaryOperationIntrinsic.java | 16 ++++++++++++++++ .../primitive/PrimitiveCompareToIntrinsic.java | 16 ++++++++++++++++ .../primitive/PrimitiveEqualsIntrinsic.java | 16 ++++++++++++++++ .../primitive/PrimitiveRangeToIntrinsic.java | 16 ++++++++++++++++ .../PrimitiveUnaryOperationIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/string/CharAtIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/string/LengthIntrinsic.java | 16 ++++++++++++++++ .../intrinsic/tuple/TupleAccessIntrinsic.java | 16 ++++++++++++++++ .../operation/AssignmentTranslator.java | 16 ++++++++++++++++ .../operation/BinaryOperationTranslator.java | 16 ++++++++++++++++ .../translate/operation/CompareToTranslator.java | 16 ++++++++++++++++ .../translate/operation/IncrementTranslator.java | 16 ++++++++++++++++ .../operation/IntrinsicAssignmentTranslator.java | 16 ++++++++++++++++ .../operation/IntrinsicIncrementTranslator.java | 16 ++++++++++++++++ .../k2js/translate/operation/OperatorTable.java | 16 ++++++++++++++++ .../OverloadedAssignmentTranslator.java | 16 ++++++++++++++++ .../operation/OverloadedIncrementTranslator.java | 16 ++++++++++++++++ .../operation/UnaryOperationTranslator.java | 16 ++++++++++++++++ .../translate/reference/AccessTranslator.java | 16 ++++++++++++++++ .../reference/ArrayAccessTranslator.java | 16 ++++++++++++++++ .../k2js/translate/reference/CallBuilder.java | 16 ++++++++++++++++ .../reference/CallExpressionTranslator.java | 16 ++++++++++++++++ .../k2js/translate/reference/CallTranslator.java | 16 ++++++++++++++++ .../k2js/translate/reference/CallType.java | 16 ++++++++++++++++ .../KotlinPropertyAccessTranslator.java | 16 ++++++++++++++++ .../NativePropertyAccessTranslator.java | 16 ++++++++++++++++ .../reference/PropertyAccessTranslator.java | 16 ++++++++++++++++ .../reference/QualifiedExpressionTranslator.java | 16 ++++++++++++++++ .../reference/ReferenceAccessTranslator.java | 16 ++++++++++++++++ .../translate/reference/ReferenceTranslator.java | 16 ++++++++++++++++ .../k2js/translate/utils/AnnotationsUtils.java | 16 ++++++++++++++++ .../k2js/translate/utils/BindingUtils.java | 16 ++++++++++++++++ .../k2js/translate/utils/ClassSorter.java | 16 ++++++++++++++++ .../k2js/translate/utils/DescriptorUtils.java | 16 ++++++++++++++++ .../jetbrains/k2js/translate/utils/PsiUtils.java | 16 ++++++++++++++++ .../k2js/translate/utils/TranslationUtils.java | 16 ++++++++++++++++ .../jetbrains/k2js/utils/GenerationUtils.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/utils/JetFileUtils.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/utils/JetTestUtils.java | 16 ++++++++++++++++ translator/testFiles/canvas_helper.js | 16 ++++++++++++++++ translator/testFiles/kotlinLib/cases/array.js | 16 ++++++++++++++++ .../testFiles/kotlinLib/cases/commaExpression.js | 16 ++++++++++++++++ translator/testFiles/kotlinLib/cases/hashMap.js | 16 ++++++++++++++++ .../testFiles/kotlinLib/cases/isAncestorType.js | 16 ++++++++++++++++ .../testFiles/kotlinLib/cases/isComplexTest.js | 16 ++++++++++++++++ .../testFiles/kotlinLib/cases/isNotOtherType.js | 16 ++++++++++++++++ .../testFiles/kotlinLib/cases/isSameType.js | 16 ++++++++++++++++ .../testFiles/kotlinLib/cases/namespace.js | 16 ++++++++++++++++ .../kotlinLib/cases/namespaceWithClasses.js | 16 ++++++++++++++++ translator/testFiles/kotlinLib/cases/trait.js | 16 ++++++++++++++++ .../testFiles/libImplementations/jshashset.js | 16 ++++++++++++++++ .../libImplementations/jshashtable-2.1.js | 16 ++++++++++++++++ .../testFiles/libImplementations/prototype.js | 16 ++++++++++++++++ .../k2js/test/AbstractExpressionTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/ArrayListTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/BaseTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/BasicClassTest.java | 16 ++++++++++++++++ .../k2js/test/ClassInheritanceTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/ConditionalTest.java | 16 ++++++++++++++++ .../jetbrains/k2js/test/ExampleTestSuite.java | 16 ++++++++++++++++ .../k2js/test/ExtensionFunctionTest.java | 16 ++++++++++++++++ .../k2js/test/ExtensionPropertyTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/ForTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/FunctionTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/JavaClassesTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/KotlinLibTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/MiscTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/MultiFileTest.java | 16 ++++++++++++++++ .../jetbrains/k2js/test/MultiNamespaceTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/NameClashesTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/ObjectTest.java | 16 ++++++++++++++++ .../k2js/test/OperatorOverloadingTest.java | 16 ++++++++++++++++ .../jetbrains/k2js/test/PatternMatchingTest.java | 16 ++++++++++++++++ .../jetbrains/k2js/test/PropertyAccessTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/RTTITest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/RangeTest.java | 16 ++++++++++++++++ .../k2js/test/RhinoFunctionResultChecker.java | 16 ++++++++++++++++ .../k2js/test/RhinoPropertyTypesChecker.java | 16 ++++++++++++++++ .../jetbrains/k2js/test/RhinoResultChecker.java | 16 ++++++++++++++++ .../k2js/test/RhinoSystemOutputChecker.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/RhinoUtils.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/SimpleTestSuite.java | 16 ++++++++++++++++ .../jetbrains/k2js/test/StandardClassesTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/StringTest.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/Suite.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/TraitTest.java | 16 ++++++++++++++++ .../org/jetbrains/k2js/test/TranslationTest.java | 16 ++++++++++++++++ .../k2js/test/TranslatorTestCaseBuilder.java | 16 ++++++++++++++++ .../test/org/jetbrains/k2js/test/TupleTest.java | 16 ++++++++++++++++ .../k2js/test/WebDemoExamples1Test.java | 16 ++++++++++++++++ .../k2js/test/WebDemoExamples2Test.java | 16 ++++++++++++++++ 154 files changed, 2457 insertions(+) create mode 100644 .idea/copyright/apache.xml diff --git a/.idea/copyright/apache.xml b/.idea/copyright/apache.xml new file mode 100644 index 00000000000..647fcdb02ef --- /dev/null +++ b/.idea/copyright/apache.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/examplesForWebDemo/src/html5/creatures/creatures.js b/examplesForWebDemo/src/html5/creatures/creatures.js index e8bfe446265..a83e29d65ad 100644 --- a/examplesForWebDemo/src/html5/creatures/creatures.js +++ b/examplesForWebDemo/src/html5/creatures/creatures.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + { var classes = function () { var Vector = Kotlin.Class.create({initialize:function (x, y) { diff --git a/examplesForWebDemo/src/html5/creatures/template.html b/examplesForWebDemo/src/html5/creatures/template.html index 81d24ab9d5a..466bfa8168f 100644 --- a/examplesForWebDemo/src/html5/creatures/template.html +++ b/examplesForWebDemo/src/html5/creatures/template.html @@ -1,3 +1,19 @@ + + diff --git a/examplesForWebDemo/src/html5/fancyLines/fancylines.js b/examplesForWebDemo/src/html5/fancyLines/fancylines.js index a78f520a73b..27e7e39a3a3 100644 --- a/examplesForWebDemo/src/html5/fancyLines/fancylines.js +++ b/examplesForWebDemo/src/html5/fancyLines/fancylines.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + { var classes = function () { var FancyLines = Kotlin.Class.create({initialize:function () { diff --git a/examplesForWebDemo/src/html5/fancyLines/template.html b/examplesForWebDemo/src/html5/fancyLines/template.html index 0c07b7ec794..64a717ea926 100644 --- a/examplesForWebDemo/src/html5/fancyLines/template.html +++ b/examplesForWebDemo/src/html5/fancyLines/template.html @@ -1,3 +1,19 @@ + + diff --git a/examplesForWebDemo/src/html5/floatingText/hello.js b/examplesForWebDemo/src/html5/floatingText/hello.js index 79dfcec9f3e..289ebedd579 100644 --- a/examplesForWebDemo/src/html5/floatingText/hello.js +++ b/examplesForWebDemo/src/html5/floatingText/hello.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + { var classes = function () { var HelloKotlin = Kotlin.Class.create({initialize:function () { diff --git a/examplesForWebDemo/src/html5/floatingText/template.html b/examplesForWebDemo/src/html5/floatingText/template.html index 6ebab7eb7fd..557ab5c8b6f 100644 --- a/examplesForWebDemo/src/html5/floatingText/template.html +++ b/examplesForWebDemo/src/html5/floatingText/template.html @@ -1,3 +1,19 @@ + + diff --git a/examplesForWebDemo/src/html5/interactive/interactive.js b/examplesForWebDemo/src/html5/interactive/interactive.js index 8de044cd34c..e87a2d66315 100644 --- a/examplesForWebDemo/src/html5/interactive/interactive.js +++ b/examplesForWebDemo/src/html5/interactive/interactive.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + { var classes = function () { var Vector = Kotlin.Class.create({initialize:function (x, y) { diff --git a/examplesForWebDemo/src/html5/interactive/template.html b/examplesForWebDemo/src/html5/interactive/template.html index c629242e8ee..d976e3dafc2 100644 --- a/examplesForWebDemo/src/html5/interactive/template.html +++ b/examplesForWebDemo/src/html5/interactive/template.html @@ -1,3 +1,19 @@ + + diff --git a/examplesForWebDemo/src/html5/interactive/template_copy.html b/examplesForWebDemo/src/html5/interactive/template_copy.html index 7994eac67a3..d3319ca6c00 100644 --- a/examplesForWebDemo/src/html5/interactive/template_copy.html +++ b/examplesForWebDemo/src/html5/interactive/template_copy.html @@ -1,3 +1,19 @@ + + diff --git a/examplesForWebDemo/src/html5/interactive/tutorial.js b/examplesForWebDemo/src/html5/interactive/tutorial.js index 9306f52d6bb..fb48f04ce7b 100644 --- a/examplesForWebDemo/src/html5/interactive/tutorial.js +++ b/examplesForWebDemo/src/html5/interactive/tutorial.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + // By Simon Sarris // www.simonsarris.com // sarris@acm.org diff --git a/examplesForWebDemo/src/html5/interactive2/interactive2.js b/examplesForWebDemo/src/html5/interactive2/interactive2.js index 955ececad26..93de4ed144b 100644 --- a/examplesForWebDemo/src/html5/interactive2/interactive2.js +++ b/examplesForWebDemo/src/html5/interactive2/interactive2.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + { var classes = function () { var Vector = Kotlin.Class.create({initialize:function (x, y) { diff --git a/examplesForWebDemo/src/html5/interactive2/template.html b/examplesForWebDemo/src/html5/interactive2/template.html index c1619f21c8a..f7399d7ee00 100644 --- a/examplesForWebDemo/src/html5/interactive2/template.html +++ b/examplesForWebDemo/src/html5/interactive2/template.html @@ -1,3 +1,19 @@ + + diff --git a/jslib/src/core/Dummy.java b/jslib/src/core/Dummy.java index 1d0a7e23165..3a72c52114b 100644 --- a/jslib/src/core/Dummy.java +++ b/jslib/src/core/Dummy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package core; /** diff --git a/translator/src/org/jetbrains/k2js/analyze/Analyzer.java b/translator/src/org/jetbrains/k2js/analyze/Analyzer.java index ce75f61ffd4..d0aba16b5a6 100644 --- a/translator/src/org/jetbrains/k2js/analyze/Analyzer.java +++ b/translator/src/org/jetbrains/k2js/analyze/Analyzer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.analyze; import com.google.common.base.Predicate; diff --git a/translator/src/org/jetbrains/k2js/config/Config.java b/translator/src/org/jetbrains/k2js/config/Config.java index 00cd8a790e9..0dc6d6b3cf9 100644 --- a/translator/src/org/jetbrains/k2js/config/Config.java +++ b/translator/src/org/jetbrains/k2js/config/Config.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.config; import com.intellij.openapi.project.Project; diff --git a/translator/src/org/jetbrains/k2js/config/IDEAConfig.java b/translator/src/org/jetbrains/k2js/config/IDEAConfig.java index 1dffd1b1e79..f72d8668acd 100644 --- a/translator/src/org/jetbrains/k2js/config/IDEAConfig.java +++ b/translator/src/org/jetbrains/k2js/config/IDEAConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.config; import com.intellij.openapi.project.Project; diff --git a/translator/src/org/jetbrains/k2js/config/TestConfig.java b/translator/src/org/jetbrains/k2js/config/TestConfig.java index cf6e66571ef..22d57e9931a 100644 --- a/translator/src/org/jetbrains/k2js/config/TestConfig.java +++ b/translator/src/org/jetbrains/k2js/config/TestConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.config; import com.intellij.openapi.Disposable; diff --git a/translator/src/org/jetbrains/k2js/facade/K2JSTranslator.java b/translator/src/org/jetbrains/k2js/facade/K2JSTranslator.java index 8d09bbe116b..ec186cc9e7f 100644 --- a/translator/src/org/jetbrains/k2js/facade/K2JSTranslator.java +++ b/translator/src/org/jetbrains/k2js/facade/K2JSTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.facade; import com.google.dart.compiler.backend.js.ast.JsProgram; diff --git a/translator/src/org/jetbrains/k2js/facade/K2JSTranslatorUtils.java b/translator/src/org/jetbrains/k2js/facade/K2JSTranslatorUtils.java index dce7cac6f69..8fafffc52ff 100644 --- a/translator/src/org/jetbrains/k2js/facade/K2JSTranslatorUtils.java +++ b/translator/src/org/jetbrains/k2js/facade/K2JSTranslatorUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.facade; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/generate/CodeGenerator.java b/translator/src/org/jetbrains/k2js/generate/CodeGenerator.java index d8db032e77f..ecb5d30b2c0 100644 --- a/translator/src/org/jetbrains/k2js/generate/CodeGenerator.java +++ b/translator/src/org/jetbrains/k2js/generate/CodeGenerator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.generate; import com.google.dart.compiler.backend.js.JsSourceGenerationVisitor; diff --git a/translator/src/org/jetbrains/k2js/translate/context/Aliaser.java b/translator/src/org/jetbrains/k2js/translate/context/Aliaser.java index ff52a0f087b..f77a65a7e0d 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/Aliaser.java +++ b/translator/src/org/jetbrains/k2js/translate/context/Aliaser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.JsName; diff --git a/translator/src/org/jetbrains/k2js/translate/context/DynamicContext.java b/translator/src/org/jetbrains/k2js/translate/context/DynamicContext.java index 2a79dfce9d5..7e09549fdb9 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/DynamicContext.java +++ b/translator/src/org/jetbrains/k2js/translate/context/DynamicContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/context/Namer.java b/translator/src/org/jetbrains/k2js/translate/context/Namer.java index 803136f3042..c92af4d1bac 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/Namer.java +++ b/translator/src/org/jetbrains/k2js/translate/context/Namer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.JsName; diff --git a/translator/src/org/jetbrains/k2js/translate/context/NamingScope.java b/translator/src/org/jetbrains/k2js/translate/context/NamingScope.java index 45d61ea7f03..650f0ffb5b1 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/NamingScope.java +++ b/translator/src/org/jetbrains/k2js/translate/context/NamingScope.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.JsName; diff --git a/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java b/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java index be85544777f..b1d0e5e8fef 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java +++ b/translator/src/org/jetbrains/k2js/translate/context/StandardClasses.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.JsName; diff --git a/translator/src/org/jetbrains/k2js/translate/context/StaticContext.java b/translator/src/org/jetbrains/k2js/translate/context/StaticContext.java index 80e3b1d707a..32a0065efb2 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/StaticContext.java +++ b/translator/src/org/jetbrains/k2js/translate/context/StaticContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.JsName; diff --git a/translator/src/org/jetbrains/k2js/translate/context/TemporaryVariable.java b/translator/src/org/jetbrains/k2js/translate/context/TemporaryVariable.java index 3fd809a7841..09c6929cf9d 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/TemporaryVariable.java +++ b/translator/src/org/jetbrains/k2js/translate/context/TemporaryVariable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/context/TranslationContext.java b/translator/src/org/jetbrains/k2js/translate/context/TranslationContext.java index cca19943014..e28a0332e0b 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/TranslationContext.java +++ b/translator/src/org/jetbrains/k2js/translate/context/TranslationContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/context/generator/Generator.java b/translator/src/org/jetbrains/k2js/translate/context/generator/Generator.java index f2553435ff9..720e3a8d7e1 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/generator/Generator.java +++ b/translator/src/org/jetbrains/k2js/translate/context/generator/Generator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context.generator; import com.google.common.collect.Lists; diff --git a/translator/src/org/jetbrains/k2js/translate/context/generator/Rule.java b/translator/src/org/jetbrains/k2js/translate/context/generator/Rule.java index dd9c8802114..e3550578ef5 100644 --- a/translator/src/org/jetbrains/k2js/translate/context/generator/Rule.java +++ b/translator/src/org/jetbrains/k2js/translate/context/generator/Rule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.context.generator; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/translate/declaration/ClassDeclarationTranslator.java b/translator/src/org/jetbrains/k2js/translate/declaration/ClassDeclarationTranslator.java index a57125ff870..fd110f10e7a 100644 --- a/translator/src/org/jetbrains/k2js/translate/declaration/ClassDeclarationTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/declaration/ClassDeclarationTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.declaration; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/declaration/ClassTranslator.java b/translator/src/org/jetbrains/k2js/translate/declaration/ClassTranslator.java index 617e997ac38..7469159224a 100644 --- a/translator/src/org/jetbrains/k2js/translate/declaration/ClassTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/declaration/ClassTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.declaration; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/declaration/DeclarationBodyVisitor.java b/translator/src/org/jetbrains/k2js/translate/declaration/DeclarationBodyVisitor.java index a39f713a83b..2cdb5629247 100644 --- a/translator/src/org/jetbrains/k2js/translate/declaration/DeclarationBodyVisitor.java +++ b/translator/src/org/jetbrains/k2js/translate/declaration/DeclarationBodyVisitor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.declaration; import com.google.dart.compiler.backend.js.ast.JsPropertyInitializer; diff --git a/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceDeclarationTranslator.java b/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceDeclarationTranslator.java index ab66bf162a8..9b748e511f2 100644 --- a/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceDeclarationTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceDeclarationTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.declaration; import com.google.common.collect.Lists; diff --git a/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceTranslator.java b/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceTranslator.java index 53e45d7e1ae..3f82a727606 100644 --- a/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/declaration/NamespaceTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.declaration; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/declaration/PropertyTranslator.java b/translator/src/org/jetbrains/k2js/translate/declaration/PropertyTranslator.java index 74d3978e50b..610d6396b24 100644 --- a/translator/src/org/jetbrains/k2js/translate/declaration/PropertyTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/declaration/PropertyTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.declaration; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/ExpressionVisitor.java b/translator/src/org/jetbrains/k2js/translate/expression/ExpressionVisitor.java index fc6c62c44a9..f1b74b5b9d1 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/ExpressionVisitor.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/ExpressionVisitor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/ForTranslator.java b/translator/src/org/jetbrains/k2js/translate/expression/ForTranslator.java index 7d8522cadfd..c0eb4e6c17e 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/ForTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/ForTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/FunctionTranslator.java b/translator/src/org/jetbrains/k2js/translate/expression/FunctionTranslator.java index aee3953fdcb..0d16bf5ea3c 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/FunctionTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/FunctionTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/PatternTranslator.java b/translator/src/org/jetbrains/k2js/translate/expression/PatternTranslator.java index fe40320e810..26810dab5c2 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/PatternTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/PatternTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/StringTemplateTranslator.java b/translator/src/org/jetbrains/k2js/translate/expression/StringTemplateTranslator.java index a8fcfce02dc..a5f14bd8878 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/StringTemplateTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/StringTemplateTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/TryTranslator.java b/translator/src/org/jetbrains/k2js/translate/expression/TryTranslator.java index 01603918e5d..a163939a748 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/TryTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/TryTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; import com.google.dart.compiler.backend.js.ast.JsBlock; diff --git a/translator/src/org/jetbrains/k2js/translate/expression/WhenTranslator.java b/translator/src/org/jetbrains/k2js/translate/expression/WhenTranslator.java index c1065139c25..0010081b70f 100644 --- a/translator/src/org/jetbrains/k2js/translate/expression/WhenTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/expression/WhenTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.expression; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/general/AbstractTranslator.java b/translator/src/org/jetbrains/k2js/translate/general/AbstractTranslator.java index e5f7a5277df..0aeb385e7fe 100644 --- a/translator/src/org/jetbrains/k2js/translate/general/AbstractTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/general/AbstractTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.general; import com.google.dart.compiler.backend.js.ast.JsProgram; diff --git a/translator/src/org/jetbrains/k2js/translate/general/Translation.java b/translator/src/org/jetbrains/k2js/translate/general/Translation.java index 484eee72039..c80c7772be0 100644 --- a/translator/src/org/jetbrains/k2js/translate/general/Translation.java +++ b/translator/src/org/jetbrains/k2js/translate/general/Translation.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.general; import com.google.dart.compiler.backend.js.JsNamer; diff --git a/translator/src/org/jetbrains/k2js/translate/general/TranslatorVisitor.java b/translator/src/org/jetbrains/k2js/translate/general/TranslatorVisitor.java index a44ae34e795..c42299032f2 100644 --- a/translator/src/org/jetbrains/k2js/translate/general/TranslatorVisitor.java +++ b/translator/src/org/jetbrains/k2js/translate/general/TranslatorVisitor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.general; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/translate/initializer/AbstractInitializerTranslator.java b/translator/src/org/jetbrains/k2js/translate/initializer/AbstractInitializerTranslator.java index adc0c2658dd..6c53ec13495 100644 --- a/translator/src/org/jetbrains/k2js/translate/initializer/AbstractInitializerTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/initializer/AbstractInitializerTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.initializer; import com.google.dart.compiler.backend.js.ast.JsFunction; diff --git a/translator/src/org/jetbrains/k2js/translate/initializer/ClassInitializerTranslator.java b/translator/src/org/jetbrains/k2js/translate/initializer/ClassInitializerTranslator.java index d70aef8890f..154858888bd 100644 --- a/translator/src/org/jetbrains/k2js/translate/initializer/ClassInitializerTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/initializer/ClassInitializerTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.initializer; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/initializer/InitializerVisitor.java b/translator/src/org/jetbrains/k2js/translate/initializer/InitializerVisitor.java index f63a301ebf6..20b5cc5f835 100644 --- a/translator/src/org/jetbrains/k2js/translate/initializer/InitializerVisitor.java +++ b/translator/src/org/jetbrains/k2js/translate/initializer/InitializerVisitor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.initializer; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/initializer/NamespaceInitializerTranslator.java b/translator/src/org/jetbrains/k2js/translate/initializer/NamespaceInitializerTranslator.java index e2a12f95de4..4132315e645 100644 --- a/translator/src/org/jetbrains/k2js/translate/initializer/NamespaceInitializerTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/initializer/NamespaceInitializerTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.initializer; import com.google.dart.compiler.backend.js.ast.JsFunction; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/CompareToIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/CompareToIntrinsic.java index 64f6524894f..0dbeeb4fca4 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/CompareToIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/CompareToIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/EqualsIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/EqualsIntrinsic.java index b60db5a5dfc..3cd074970eb 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/EqualsIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/EqualsIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/FunctionIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/FunctionIntrinsic.java index 81a9b8ca09f..9a5e0eab723 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/FunctionIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/FunctionIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic; /** diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsic.java index 5fc9ca07c2a..425e5f04b68 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsics.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsics.java index f93bd4937fd..9893e8f489d 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsics.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/Intrinsics.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic; import com.google.common.collect.Lists; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayFunctionConstructorIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayFunctionConstructorIntrinsic.java index 80cdce7eecc..6cd6f5cd2fd 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayFunctionConstructorIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayFunctionConstructorIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayGetIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayGetIntrinsic.java index 8f70ac6ca1f..ea0d565247d 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayGetIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayGetIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsArrayAccess; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIndicesIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIndicesIntrinsic.java index ed0d765eaea..c9e9f9d1005 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIndicesIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIndicesIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIteratorIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIteratorIntrinsic.java index 827b2bcccb4..cc04aa26246 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIteratorIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayIteratorIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayNullConstructorIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayNullConstructorIntrinsic.java index 47f1f637b34..a9e0ee1cea3 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayNullConstructorIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArrayNullConstructorIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySetIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySetIntrinsic.java index 5aea42f62ed..03f41d57c7c 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySetIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySetIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsArrayAccess; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySizeIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySizeIntrinsic.java index 560311ccbe6..69a04d2231f 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySizeIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/array/ArraySizeIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.array; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveBinaryOperationIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveBinaryOperationIntrinsic.java index 8d2921cb6f2..5d6039319e9 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveBinaryOperationIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveBinaryOperationIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.primitive; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveCompareToIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveCompareToIntrinsic.java index 1abd199c217..c43708008e5 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveCompareToIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveCompareToIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.primitive; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveEqualsIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveEqualsIntrinsic.java index d5f66844e1d..05cd57be9cd 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveEqualsIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveEqualsIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.primitive; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveRangeToIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveRangeToIntrinsic.java index 3d22b008487..723beaf07dc 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveRangeToIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveRangeToIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.primitive; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveUnaryOperationIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveUnaryOperationIntrinsic.java index e2bc6a372de..817461472a3 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveUnaryOperationIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/primitive/PrimitiveUnaryOperationIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.primitive; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/string/CharAtIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/string/CharAtIntrinsic.java index 20f1e02e755..e2bcfb82eb3 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/string/CharAtIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/string/CharAtIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.string; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/string/LengthIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/string/LengthIntrinsic.java index cf7b35dda19..3e66610f8e2 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/string/LengthIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/string/LengthIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.string; diff --git a/translator/src/org/jetbrains/k2js/translate/intrinsic/tuple/TupleAccessIntrinsic.java b/translator/src/org/jetbrains/k2js/translate/intrinsic/tuple/TupleAccessIntrinsic.java index 29c51a818cf..0dd7aa92dcb 100644 --- a/translator/src/org/jetbrains/k2js/translate/intrinsic/tuple/TupleAccessIntrinsic.java +++ b/translator/src/org/jetbrains/k2js/translate/intrinsic/tuple/TupleAccessIntrinsic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.intrinsic.tuple; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/AssignmentTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/AssignmentTranslator.java index 9a98552465e..59a0b1fbe69 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/AssignmentTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/AssignmentTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/BinaryOperationTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/BinaryOperationTranslator.java index 21df9ae95b5..fba92b190fb 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/BinaryOperationTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/BinaryOperationTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/CompareToTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/CompareToTranslator.java index c9a40343684..3ce5449c216 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/CompareToTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/CompareToTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/IncrementTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/IncrementTranslator.java index 2599a0d0d2c..1e81b5f78a8 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/IncrementTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/IncrementTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicAssignmentTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicAssignmentTranslator.java index c8d8c1b5de8..e845b34a175 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicAssignmentTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicAssignmentTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicIncrementTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicIncrementTranslator.java index 4432dac3fc7..f400ac44af3 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicIncrementTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/IntrinsicIncrementTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/OperatorTable.java b/translator/src/org/jetbrains/k2js/translate/operation/OperatorTable.java index 29796ce9483..25405b9042b 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/OperatorTable.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/OperatorTable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsBinaryOperator; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/OverloadedAssignmentTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/OverloadedAssignmentTranslator.java index c17f23af9d3..b51a05e360f 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/OverloadedAssignmentTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/OverloadedAssignmentTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/OverloadedIncrementTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/OverloadedIncrementTranslator.java index 0e117ce1ca8..bbeea97e9b0 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/OverloadedIncrementTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/OverloadedIncrementTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/operation/UnaryOperationTranslator.java b/translator/src/org/jetbrains/k2js/translate/operation/UnaryOperationTranslator.java index 51fdf4eb571..f6e9f1fc060 100644 --- a/translator/src/org/jetbrains/k2js/translate/operation/UnaryOperationTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/operation/UnaryOperationTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.operation; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/AccessTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/AccessTranslator.java index 56e33883dc5..33a59596c2b 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/AccessTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/AccessTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/ArrayAccessTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/ArrayAccessTranslator.java index 262646cae9a..fe6a0c9c721 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/ArrayAccessTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/ArrayAccessTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/CallBuilder.java b/translator/src/org/jetbrains/k2js/translate/reference/CallBuilder.java index 03b2d2c0d16..fb8d82ea3a9 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/CallBuilder.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/CallBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.common.collect.Lists; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/CallExpressionTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/CallExpressionTranslator.java index fc6e1181a9e..9f9d65e4581 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/CallExpressionTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/CallExpressionTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsArrayLiteral; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/CallTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/CallTranslator.java index 90f24426281..199d9e4b446 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/CallTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/CallTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/CallType.java b/translator/src/org/jetbrains/k2js/translate/reference/CallType.java index 6fce7259477..cc8f14b0960 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/CallType.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/CallType.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsBinaryOperation; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/KotlinPropertyAccessTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/KotlinPropertyAccessTranslator.java index a496712565c..fb35e37f667 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/KotlinPropertyAccessTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/KotlinPropertyAccessTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/NativePropertyAccessTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/NativePropertyAccessTranslator.java index c6c8a0817df..f6744be776c 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/NativePropertyAccessTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/NativePropertyAccessTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/PropertyAccessTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/PropertyAccessTranslator.java index f7447229fa2..4de16989916 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/PropertyAccessTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/PropertyAccessTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/QualifiedExpressionTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/QualifiedExpressionTranslator.java index ae2f3e6d351..be4321a95a0 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/QualifiedExpressionTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/QualifiedExpressionTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/ReferenceAccessTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/ReferenceAccessTranslator.java index f5adc75859d..a80842e8ec0 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/ReferenceAccessTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/ReferenceAccessTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/reference/ReferenceTranslator.java b/translator/src/org/jetbrains/k2js/translate/reference/ReferenceTranslator.java index 8f3929d3ee9..34c0f453f54 100644 --- a/translator/src/org/jetbrains/k2js/translate/reference/ReferenceTranslator.java +++ b/translator/src/org/jetbrains/k2js/translate/reference/ReferenceTranslator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.reference; import com.google.dart.compiler.backend.js.ast.JsExpression; diff --git a/translator/src/org/jetbrains/k2js/translate/utils/AnnotationsUtils.java b/translator/src/org/jetbrains/k2js/translate/utils/AnnotationsUtils.java index dc34ae47913..d169f11ac6e 100644 --- a/translator/src/org/jetbrains/k2js/translate/utils/AnnotationsUtils.java +++ b/translator/src/org/jetbrains/k2js/translate/utils/AnnotationsUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.utils; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/translate/utils/BindingUtils.java b/translator/src/org/jetbrains/k2js/translate/utils/BindingUtils.java index 2533826375a..eb319974ee6 100644 --- a/translator/src/org/jetbrains/k2js/translate/utils/BindingUtils.java +++ b/translator/src/org/jetbrains/k2js/translate/utils/BindingUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.utils; import com.google.common.collect.Sets; diff --git a/translator/src/org/jetbrains/k2js/translate/utils/ClassSorter.java b/translator/src/org/jetbrains/k2js/translate/utils/ClassSorter.java index 11f51db1b62..2ad048cd13c 100644 --- a/translator/src/org/jetbrains/k2js/translate/utils/ClassSorter.java +++ b/translator/src/org/jetbrains/k2js/translate/utils/ClassSorter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.utils; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/translate/utils/DescriptorUtils.java b/translator/src/org/jetbrains/k2js/translate/utils/DescriptorUtils.java index 75c3efc6239..19fc3588871 100644 --- a/translator/src/org/jetbrains/k2js/translate/utils/DescriptorUtils.java +++ b/translator/src/org/jetbrains/k2js/translate/utils/DescriptorUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.utils; import com.google.common.collect.Lists; diff --git a/translator/src/org/jetbrains/k2js/translate/utils/PsiUtils.java b/translator/src/org/jetbrains/k2js/translate/utils/PsiUtils.java index 2ab4717e6db..41940ad61cf 100644 --- a/translator/src/org/jetbrains/k2js/translate/utils/PsiUtils.java +++ b/translator/src/org/jetbrains/k2js/translate/utils/PsiUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.utils; import com.intellij.psi.PsiElement; diff --git a/translator/src/org/jetbrains/k2js/translate/utils/TranslationUtils.java b/translator/src/org/jetbrains/k2js/translate/utils/TranslationUtils.java index 0957af1554f..d0832046e8e 100644 --- a/translator/src/org/jetbrains/k2js/translate/utils/TranslationUtils.java +++ b/translator/src/org/jetbrains/k2js/translate/utils/TranslationUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.translate.utils; import com.google.dart.compiler.backend.js.ast.*; diff --git a/translator/src/org/jetbrains/k2js/utils/GenerationUtils.java b/translator/src/org/jetbrains/k2js/utils/GenerationUtils.java index 3aacc85a56a..ae96b635c59 100644 --- a/translator/src/org/jetbrains/k2js/utils/GenerationUtils.java +++ b/translator/src/org/jetbrains/k2js/utils/GenerationUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.utils; import org.jetbrains.annotations.NotNull; diff --git a/translator/src/org/jetbrains/k2js/utils/JetFileUtils.java b/translator/src/org/jetbrains/k2js/utils/JetFileUtils.java index ff9bceaf284..76d2f7ebba9 100644 --- a/translator/src/org/jetbrains/k2js/utils/JetFileUtils.java +++ b/translator/src/org/jetbrains/k2js/utils/JetFileUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.utils; import com.intellij.openapi.project.Project; diff --git a/translator/src/org/jetbrains/k2js/utils/JetTestUtils.java b/translator/src/org/jetbrains/k2js/utils/JetTestUtils.java index 54e70fe353e..b9f3b05be11 100644 --- a/translator/src/org/jetbrains/k2js/utils/JetTestUtils.java +++ b/translator/src/org/jetbrains/k2js/utils/JetTestUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.utils; import org.jetbrains.annotations.NotNull; diff --git a/translator/testFiles/canvas_helper.js b/translator/testFiles/canvas_helper.js index e66994df2a4..90d9287df1f 100644 --- a/translator/testFiles/canvas_helper.js +++ b/translator/testFiles/canvas_helper.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + function getContext() { return getCanvas().getContext('2d'); } diff --git a/translator/testFiles/kotlinLib/cases/array.js b/translator/testFiles/kotlinLib/cases/array.js index 6b6561c1b68..0d2083c480c 100644 --- a/translator/testFiles/kotlinLib/cases/array.js +++ b/translator/testFiles/kotlinLib/cases/array.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + function test() { var a = Kotlin.arrayFromFun(3, function () { return 3 diff --git a/translator/testFiles/kotlinLib/cases/commaExpression.js b/translator/testFiles/kotlinLib/cases/commaExpression.js index f145440e08c..f3990bf315d 100644 --- a/translator/testFiles/kotlinLib/cases/commaExpression.js +++ b/translator/testFiles/kotlinLib/cases/commaExpression.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + a = 0 f = (t = a, t1 = t, a = ++t1, t) diff --git a/translator/testFiles/kotlinLib/cases/hashMap.js b/translator/testFiles/kotlinLib/cases/hashMap.js index 1fcd81a6a88..5b195c7600d 100644 --- a/translator/testFiles/kotlinLib/cases/hashMap.js +++ b/translator/testFiles/kotlinLib/cases/hashMap.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + var map = new Kotlin.HashMap() map.put(3, 4) diff --git a/translator/testFiles/kotlinLib/cases/isAncestorType.js b/translator/testFiles/kotlinLib/cases/isAncestorType.js index 6473de60fce..255b5891326 100644 --- a/translator/testFiles/kotlinLib/cases/isAncestorType.js +++ b/translator/testFiles/kotlinLib/cases/isAncestorType.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + var A = Kotlin.Class.create(); var B = Kotlin.Class.create(A); var b = new B; diff --git a/translator/testFiles/kotlinLib/cases/isComplexTest.js b/translator/testFiles/kotlinLib/cases/isComplexTest.js index 9af77ce6b2c..92a4a2f29ff 100644 --- a/translator/testFiles/kotlinLib/cases/isComplexTest.js +++ b/translator/testFiles/kotlinLib/cases/isComplexTest.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + var A = Kotlin.Class.create(); var B = Kotlin.Class.create(A); var b = new B; diff --git a/translator/testFiles/kotlinLib/cases/isNotOtherType.js b/translator/testFiles/kotlinLib/cases/isNotOtherType.js index f9abb7f314f..b33ad3afab2 100644 --- a/translator/testFiles/kotlinLib/cases/isNotOtherType.js +++ b/translator/testFiles/kotlinLib/cases/isNotOtherType.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + var A = Kotlin.Class.create(); var B = Kotlin.Class.create(A); var C = Kotlin.Class.create(); diff --git a/translator/testFiles/kotlinLib/cases/isSameType.js b/translator/testFiles/kotlinLib/cases/isSameType.js index cd5529d401f..cb333db25c5 100644 --- a/translator/testFiles/kotlinLib/cases/isSameType.js +++ b/translator/testFiles/kotlinLib/cases/isSameType.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + var A = Kotlin.Class.create(); var a = new A; diff --git a/translator/testFiles/kotlinLib/cases/namespace.js b/translator/testFiles/kotlinLib/cases/namespace.js index 5601936ffb1..eeb677033eb 100644 --- a/translator/testFiles/kotlinLib/cases/namespace.js +++ b/translator/testFiles/kotlinLib/cases/namespace.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + foo = Kotlin.Namespace.create({initialize:function(){ } , box:function(){ diff --git a/translator/testFiles/kotlinLib/cases/namespaceWithClasses.js b/translator/testFiles/kotlinLib/cases/namespaceWithClasses.js index d2ca875bcef..0571b39e660 100644 --- a/translator/testFiles/kotlinLib/cases/namespaceWithClasses.js +++ b/translator/testFiles/kotlinLib/cases/namespaceWithClasses.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + { classes = function(){ var A = Kotlin.Class.create({initialize:function(){ diff --git a/translator/testFiles/kotlinLib/cases/trait.js b/translator/testFiles/kotlinLib/cases/trait.js index 3eb670980dd..628dbbd52f2 100644 --- a/translator/testFiles/kotlinLib/cases/trait.js +++ b/translator/testFiles/kotlinLib/cases/trait.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + foo = {}; (function(foo){ foo.Test = Kotlin.Trait.create({addFoo:function(s){ diff --git a/translator/testFiles/libImplementations/jshashset.js b/translator/testFiles/libImplementations/jshashset.js index c2c2f3eecc0..4e77d1d5df1 100644 --- a/translator/testFiles/libImplementations/jshashset.js +++ b/translator/testFiles/libImplementations/jshashset.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + /** * Copyright 2010 Tim Down. * diff --git a/translator/testFiles/libImplementations/jshashtable-2.1.js b/translator/testFiles/libImplementations/jshashtable-2.1.js index e19c0be72ca..936a86b54f3 100644 --- a/translator/testFiles/libImplementations/jshashtable-2.1.js +++ b/translator/testFiles/libImplementations/jshashtable-2.1.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + /** * Copyright 2010 Tim Down. * diff --git a/translator/testFiles/libImplementations/prototype.js b/translator/testFiles/libImplementations/prototype.js index 8de2bd31b17..39f0111a9a9 100644 --- a/translator/testFiles/libImplementations/prototype.js +++ b/translator/testFiles/libImplementations/prototype.js @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + function $A(iterable) { if (!iterable) return []; if ('toArray' in Object(iterable)) return iterable.toArray(); diff --git a/translatorTests/test/org/jetbrains/k2js/test/AbstractExpressionTest.java b/translatorTests/test/org/jetbrains/k2js/test/AbstractExpressionTest.java index 21441779d82..95f3eb9bbb0 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/AbstractExpressionTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/AbstractExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/ArrayListTest.java b/translatorTests/test/org/jetbrains/k2js/test/ArrayListTest.java index 7910491899e..7e3f7506cab 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ArrayListTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ArrayListTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.JavaScriptException; diff --git a/translatorTests/test/org/jetbrains/k2js/test/BaseTest.java b/translatorTests/test/org/jetbrains/k2js/test/BaseTest.java index f519dcfad13..71875def517 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/BaseTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/BaseTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import com.intellij.openapi.project.Project; diff --git a/translatorTests/test/org/jetbrains/k2js/test/BasicClassTest.java b/translatorTests/test/org/jetbrains/k2js/test/BasicClassTest.java index 0a9e9f02bd8..29df4e4922c 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/BasicClassTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/BasicClassTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/ClassInheritanceTest.java b/translatorTests/test/org/jetbrains/k2js/test/ClassInheritanceTest.java index d2b4703e918..ed2d3369c68 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ClassInheritanceTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ClassInheritanceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/ConditionalTest.java b/translatorTests/test/org/jetbrains/k2js/test/ConditionalTest.java index 8c70c521ca1..8eaec5f933c 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ConditionalTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ConditionalTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.JavaScriptException; diff --git a/translatorTests/test/org/jetbrains/k2js/test/ExampleTestSuite.java b/translatorTests/test/org/jetbrains/k2js/test/ExampleTestSuite.java index e66aee41e09..329f749e1da 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ExampleTestSuite.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ExampleTestSuite.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import com.intellij.testFramework.UsefulTestCase; diff --git a/translatorTests/test/org/jetbrains/k2js/test/ExtensionFunctionTest.java b/translatorTests/test/org/jetbrains/k2js/test/ExtensionFunctionTest.java index 8a648642791..783d67f71ec 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ExtensionFunctionTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ExtensionFunctionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/ExtensionPropertyTest.java b/translatorTests/test/org/jetbrains/k2js/test/ExtensionPropertyTest.java index 895096996cc..983dd8ab86f 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ExtensionPropertyTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ExtensionPropertyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/ForTest.java b/translatorTests/test/org/jetbrains/k2js/test/ForTest.java index 9e493498f3a..6c469fc070e 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ForTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ForTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/FunctionTest.java b/translatorTests/test/org/jetbrains/k2js/test/FunctionTest.java index 3de162115a8..c339e7343af 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/FunctionTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/FunctionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/JavaClassesTest.java b/translatorTests/test/org/jetbrains/k2js/test/JavaClassesTest.java index 8ca3317ed5e..7f66ee62d5c 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/JavaClassesTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/JavaClassesTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/KotlinLibTest.java b/translatorTests/test/org/jetbrains/k2js/test/KotlinLibTest.java index 06fd40269dd..ea94e687ba9 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/KotlinLibTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/KotlinLibTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.Context; diff --git a/translatorTests/test/org/jetbrains/k2js/test/MiscTest.java b/translatorTests/test/org/jetbrains/k2js/test/MiscTest.java index 48f04fd54e4..d56a8371b78 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/MiscTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/MiscTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/MultiFileTest.java b/translatorTests/test/org/jetbrains/k2js/test/MultiFileTest.java index 354bff6824b..76738d49285 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/MultiFileTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/MultiFileTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/MultiNamespaceTest.java b/translatorTests/test/org/jetbrains/k2js/test/MultiNamespaceTest.java index 3b2ff745fce..8d7d473d636 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/MultiNamespaceTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/MultiNamespaceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/NameClashesTest.java b/translatorTests/test/org/jetbrains/k2js/test/NameClashesTest.java index d25739a78ae..67f563d2430 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/NameClashesTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/NameClashesTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/ObjectTest.java b/translatorTests/test/org/jetbrains/k2js/test/ObjectTest.java index d37afcf9222..f0824057fdc 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/ObjectTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/ObjectTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/OperatorOverloadingTest.java b/translatorTests/test/org/jetbrains/k2js/test/OperatorOverloadingTest.java index 19f2ce45410..d36e34ed211 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/OperatorOverloadingTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/OperatorOverloadingTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/PatternMatchingTest.java b/translatorTests/test/org/jetbrains/k2js/test/PatternMatchingTest.java index ac06743e405..d9ff84c1b0e 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/PatternMatchingTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/PatternMatchingTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.JavaScriptException; diff --git a/translatorTests/test/org/jetbrains/k2js/test/PropertyAccessTest.java b/translatorTests/test/org/jetbrains/k2js/test/PropertyAccessTest.java index 1d616789e77..d08b4b1dd52 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/PropertyAccessTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/PropertyAccessTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/RTTITest.java b/translatorTests/test/org/jetbrains/k2js/test/RTTITest.java index 4a4de59c124..03ea3e85b9c 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RTTITest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RTTITest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/RangeTest.java b/translatorTests/test/org/jetbrains/k2js/test/RangeTest.java index 24351c047a9..e3dced5c1a3 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RangeTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RangeTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/RhinoFunctionResultChecker.java b/translatorTests/test/org/jetbrains/k2js/test/RhinoFunctionResultChecker.java index 191da8c2408..5bd63ab7f78 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RhinoFunctionResultChecker.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RhinoFunctionResultChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.jetbrains.annotations.Nullable; diff --git a/translatorTests/test/org/jetbrains/k2js/test/RhinoPropertyTypesChecker.java b/translatorTests/test/org/jetbrains/k2js/test/RhinoPropertyTypesChecker.java index 227f5f910a4..4787fc0f8e0 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RhinoPropertyTypesChecker.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RhinoPropertyTypesChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.Context; diff --git a/translatorTests/test/org/jetbrains/k2js/test/RhinoResultChecker.java b/translatorTests/test/org/jetbrains/k2js/test/RhinoResultChecker.java index 1885eca0266..273895ed8a8 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RhinoResultChecker.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RhinoResultChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.Context; diff --git a/translatorTests/test/org/jetbrains/k2js/test/RhinoSystemOutputChecker.java b/translatorTests/test/org/jetbrains/k2js/test/RhinoSystemOutputChecker.java index 86c2e3c0d36..388041c14f5 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RhinoSystemOutputChecker.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RhinoSystemOutputChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.jetbrains.annotations.NotNull; diff --git a/translatorTests/test/org/jetbrains/k2js/test/RhinoUtils.java b/translatorTests/test/org/jetbrains/k2js/test/RhinoUtils.java index 8834ce8b69c..6ddf610539d 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/RhinoUtils.java +++ b/translatorTests/test/org/jetbrains/k2js/test/RhinoUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.mozilla.javascript.NativeObject; diff --git a/translatorTests/test/org/jetbrains/k2js/test/SimpleTestSuite.java b/translatorTests/test/org/jetbrains/k2js/test/SimpleTestSuite.java index 924262526a1..6f8f741ca4f 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/SimpleTestSuite.java +++ b/translatorTests/test/org/jetbrains/k2js/test/SimpleTestSuite.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import com.intellij.testFramework.UsefulTestCase; diff --git a/translatorTests/test/org/jetbrains/k2js/test/StandardClassesTest.java b/translatorTests/test/org/jetbrains/k2js/test/StandardClassesTest.java index f74832ce31a..95b2cbedcf1 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/StandardClassesTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/StandardClassesTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/StringTest.java b/translatorTests/test/org/jetbrains/k2js/test/StringTest.java index de4d9a36573..bf45441f9e7 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/StringTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/StringTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/Suite.java b/translatorTests/test/org/jetbrains/k2js/test/Suite.java index a9d57d5c153..095557125af 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/Suite.java +++ b/translatorTests/test/org/jetbrains/k2js/test/Suite.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import junit.framework.Test; diff --git a/translatorTests/test/org/jetbrains/k2js/test/TraitTest.java b/translatorTests/test/org/jetbrains/k2js/test/TraitTest.java index aebf711167f..f58d18d038f 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/TraitTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/TraitTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/TranslationTest.java b/translatorTests/test/org/jetbrains/k2js/test/TranslationTest.java index 08e8366c93d..f46514ed2e4 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/TranslationTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/TranslationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import org.jetbrains.k2js.facade.K2JSTranslator; diff --git a/translatorTests/test/org/jetbrains/k2js/test/TranslatorTestCaseBuilder.java b/translatorTests/test/org/jetbrains/k2js/test/TranslatorTestCaseBuilder.java index ba84f74a1ca..ff9a8ed4c78 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/TranslatorTestCaseBuilder.java +++ b/translatorTests/test/org/jetbrains/k2js/test/TranslatorTestCaseBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; import junit.framework.Test; diff --git a/translatorTests/test/org/jetbrains/k2js/test/TupleTest.java b/translatorTests/test/org/jetbrains/k2js/test/TupleTest.java index 8e052824783..d40b350d90f 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/TupleTest.java +++ b/translatorTests/test/org/jetbrains/k2js/test/TupleTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples1Test.java b/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples1Test.java index 82625e45f26..7490e89ca94 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples1Test.java +++ b/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples1Test.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /** diff --git a/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples2Test.java b/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples2Test.java index 18c36af77dc..1eb409c2b8a 100644 --- a/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples2Test.java +++ b/translatorTests/test/org/jetbrains/k2js/test/WebDemoExamples2Test.java @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * 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. + */ + package org.jetbrains.k2js.test; /**