From 111b3d90765c30441ff7d20fa0e6274ed8fd04d9 Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Fri, 20 Dec 2013 12:45:28 +0400 Subject: [PATCH] Applies apache license --- LICENSE | 8 ++++---- NOTICE | 2 ++ teavm-classlib/pom.xml | 15 +++++++++++++++ .../teavm/classlib/impl/charset/ByteBuffer.java | 15 +++++++++++++++ .../teavm/classlib/impl/charset/CharBuffer.java | 15 +++++++++++++++ .../teavm/classlib/impl/charset/Charset.java | 15 +++++++++++++++ .../classlib/impl/charset/UTF16Helper.java | 15 +++++++++++++++ .../classlib/impl/charset/UTF8Charset.java | 15 +++++++++++++++ .../org/teavm/classlib/java/io/TCloseable.java | 15 +++++++++++++++ .../classlib/java/io/TFilterOutputStream.java | 15 +++++++++++++++ .../org/teavm/classlib/java/io/TFlushable.java | 15 +++++++++++++++ .../teavm/classlib/java/io/TIOException.java | 15 +++++++++++++++ .../teavm/classlib/java/io/TOutputStream.java | 15 +++++++++++++++ .../teavm/classlib/java/io/TPrintStream.java | 15 +++++++++++++++ .../teavm/classlib/java/io/TSerializable.java | 15 +++++++++++++++ .../java/io/TUnsupportedEncodingException.java | 15 +++++++++++++++ .../java/lang/ClassNativeGenerator.java | 15 +++++++++++++++ .../java/lang/ConsoleOutputStreamGenerator.java | 15 +++++++++++++++ .../java/lang/DoubleNativeGenerator.java | 15 +++++++++++++++ .../java/lang/FloatNativeGenerator.java | 15 +++++++++++++++ .../java/lang/ObjectNativeGenerator.java | 15 +++++++++++++++ .../java/lang/StringNativeGenerator.java | 15 +++++++++++++++ .../java/lang/SystemNativeGenerator.java | 15 +++++++++++++++ .../java/lang/TAbstractStringBuilder.java | 15 +++++++++++++++ .../java/lang/TArrayStoreException.java | 15 +++++++++++++++ .../classlib/java/lang/TAutoCloseable.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/TCharSequence.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TClass.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/TComparable.java | 15 +++++++++++++++ .../java/lang/TConsoleOutputStream_stderr.java | 15 +++++++++++++++ .../java/lang/TConsoleOutputStream_stdout.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TDouble.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/TException.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TFloat.java | 15 +++++++++++++++ .../java/lang/TIllegalArgumentException.java | 15 +++++++++++++++ .../java/lang/TIllegalStateException.java | 15 +++++++++++++++ .../java/lang/TIndexOutOfBoundsException.java | 15 +++++++++++++++ .../java/lang/TInterruptedException.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TMath.java | 15 +++++++++++++++ .../java/lang/TNullPointerException.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TObject.java | 15 +++++++++++++++ .../classlib/java/lang/TRuntimeException.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TString.java | 15 +++++++++++++++ .../classlib/java/lang/TStringBuilder.java | 15 +++++++++++++++ .../lang/TStringIndexOutOfBoundsException.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/TSystem.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/TThrowable.java | 15 +++++++++++++++ .../lang/TUnsupportedOperationException.java | 15 +++++++++++++++ .../java/lang/annotation/TAnnotation.java | 15 +++++++++++++++ .../java/lang/reflect/ArrayNativeGenerator.java | 15 +++++++++++++++ .../classlib/java/lang/reflect/TArray.java | 15 +++++++++++++++ .../org/teavm/classlib/java/util/TArrays.java | 15 +++++++++++++++ .../org/teavm/classlib/org/junit/Assert.java | 15 +++++++++++++++ .../org/junit/AssertNativeGenerator.java | 15 +++++++++++++++ .../java/org/teavm/classlib/org/junit/Test.java | 15 +++++++++++++++ .../main/resources/META-INF/teavm.properties | 13 +++++++++++++ .../org/teavm/classlib/java/lang/ClassTest.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/ObjectTest.java | 15 +++++++++++++++ .../classlib/java/lang/StringBuilderTest.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/StringTest.java | 15 +++++++++++++++ .../teavm/classlib/java/lang/SystemTest.java | 15 +++++++++++++++ .../org/teavm/classlib/java/lang/VMTest.java | 15 +++++++++++++++ teavm-core/pom.xml | 15 +++++++++++++++ .../teavm/codegen/MinifyingAliasProvider.java | 15 +++++++++++++++ .../java/org/teavm/codegen/NamingException.java | 15 +++++++++++++++ .../java/org/teavm/codegen/SourceWriter.java | 15 +++++++++++++++ .../org/teavm/codegen/SourceWriterBuilder.java | 15 +++++++++++++++ .../org/teavm/common/DefaultDominatorTree.java | 15 +++++++++++++++ .../org/teavm/common/DominatorTreeBuilder.java | 15 +++++++++++++++ .../java/org/teavm/common/GraphBuilder.java | 15 +++++++++++++++ .../org/teavm/common/GraphWithIndexedEdges.java | 15 +++++++++++++++ .../src/main/java/org/teavm/common/Mapper.java | 15 +++++++++++++++ .../teavm/dependency/DependencyConsumer.java | 15 +++++++++++++++ .../DependencyNodeToNodeTransition.java | 15 +++++++++++++++ .../org/teavm/dependency/DependencyPlugin.java | 15 +++++++++++++++ .../teavm/dependency/DependencyTypeFilter.java | 15 +++++++++++++++ .../teavm/dependency/PluggableDependency.java | 15 +++++++++++++++ .../javascript/DecompilationException.java | 15 +++++++++++++++ .../org/teavm/javascript/JavascriptBuilder.java | 15 +++++++++++++++ .../teavm/javascript/JavascriptEntryPoint.java | 15 +++++++++++++++ .../teavm/javascript/RenderingException.java | 15 +++++++++++++++ .../teavm/javascript/StatementGenerator.java | 15 +++++++++++++++ .../org/teavm/javascript/ast/ClassNode.java | 15 +++++++++++++++ .../org/teavm/javascript/ast/FieldNode.java | 15 +++++++++++++++ .../javascript/ast/InitClassStatement.java | 15 +++++++++++++++ .../teavm/javascript/ast/MethodNodeVisitor.java | 15 +++++++++++++++ .../teavm/javascript/ast/NativeMethodNode.java | 15 +++++++++++++++ .../org/teavm/javascript/ast/NodeModifier.java | 15 +++++++++++++++ .../teavm/javascript/ast/RegularMethodNode.java | 15 +++++++++++++++ .../teavm/javascript/ast/RenamingVisitor.java | 15 +++++++++++++++ .../teavm/javascript/ast/UnwrapArrayExpr.java | 15 +++++++++++++++ .../org/teavm/javascript/ni/GeneratedBy.java | 15 +++++++++++++++ .../java/org/teavm/javascript/ni/Generator.java | 15 +++++++++++++++ .../teavm/javascript/ni/GeneratorContext.java | 15 +++++++++++++++ .../java/org/teavm/javascript/ni/Remove.java | 15 +++++++++++++++ .../java/org/teavm/javascript/ni/Rename.java | 15 +++++++++++++++ .../org/teavm/javascript/ni/Superclass.java | 15 +++++++++++++++ .../main/java/org/teavm/model/AccessLevel.java | 2 +- .../org/teavm/model/AnnotationContainer.java | 15 +++++++++++++++ .../main/java/org/teavm/model/BasicBlock.java | 15 +++++++++++++++ .../java/org/teavm/model/ClassHolderSource.java | 15 +++++++++++++++ .../java/org/teavm/model/FieldReference.java | 15 +++++++++++++++ .../src/main/java/org/teavm/model/Incoming.java | 15 +++++++++++++++ .../main/java/org/teavm/model/Instruction.java | 15 +++++++++++++++ .../teavm/model/ListableClassHolderSource.java | 15 +++++++++++++++ .../java/org/teavm/model/MethodReference.java | 15 +++++++++++++++ .../src/main/java/org/teavm/model/Phi.java | 15 +++++++++++++++ .../src/main/java/org/teavm/model/Program.java | 15 +++++++++++++++ .../src/main/java/org/teavm/model/Variable.java | 16 +++++++++++++++- .../model/instructions/ArrayElementType.java | 15 +++++++++++++++ .../instructions/ArrayLengthInstruction.java | 15 +++++++++++++++ .../model/instructions/AssignInstruction.java | 15 +++++++++++++++ .../instructions/BinaryBranchingCondition.java | 15 +++++++++++++++ .../BinaryBranchingInstruction.java | 15 +++++++++++++++ .../model/instructions/BinaryInstruction.java | 15 +++++++++++++++ .../model/instructions/BinaryOperation.java | 15 +++++++++++++++ .../model/instructions/BranchingCondition.java | 15 +++++++++++++++ .../instructions/BranchingInstruction.java | 15 +++++++++++++++ .../model/instructions/CastInstruction.java | 15 +++++++++++++++ .../instructions/CastIntegerDirection.java | 15 +++++++++++++++ .../instructions/CastIntegerInstruction.java | 15 +++++++++++++++ .../instructions/CastNumberInstruction.java | 15 +++++++++++++++ .../instructions/ClassConstantInstruction.java | 15 +++++++++++++++ .../instructions/CloneArrayInstruction.java | 15 +++++++++++++++ .../instructions/ConstructArrayInstruction.java | 15 +++++++++++++++ .../instructions/ConstructInstruction.java | 15 +++++++++++++++ .../ConstructMultiArrayInstruction.java | 15 +++++++++++++++ .../instructions/DoubleConstantInstruction.java | 15 +++++++++++++++ .../model/instructions/EmptyInstruction.java | 15 +++++++++++++++ .../model/instructions/ExitInstruction.java | 15 +++++++++++++++ .../instructions/FloatConstantInstruction.java | 15 +++++++++++++++ .../instructions/GetElementInstruction.java | 15 +++++++++++++++ .../model/instructions/GetFieldInstruction.java | 15 +++++++++++++++ .../instructions/InitClassInstruction.java | 15 +++++++++++++++ .../model/instructions/InstructionVisitor.java | 15 +++++++++++++++ .../IntegerConstantInstruction.java | 15 +++++++++++++++ .../model/instructions/IntegerSubtype.java | 15 +++++++++++++++ .../model/instructions/InvocationType.java | 15 +++++++++++++++ .../model/instructions/InvokeInstruction.java | 15 +++++++++++++++ .../instructions/IsInstanceInstruction.java | 15 +++++++++++++++ .../model/instructions/JumpInstruction.java | 15 +++++++++++++++ .../instructions/LongConstantInstruction.java | 15 +++++++++++++++ .../model/instructions/NegateInstruction.java | 15 +++++++++++++++ .../instructions/NullConstantInstruction.java | 15 +++++++++++++++ .../model/instructions/NumericOperandType.java | 15 +++++++++++++++ .../instructions/PutElementInstruction.java | 15 +++++++++++++++ .../model/instructions/PutFieldInstruction.java | 15 +++++++++++++++ .../model/instructions/RaiseInstruction.java | 15 +++++++++++++++ .../instructions/StringConstantInstruction.java | 15 +++++++++++++++ .../model/instructions/SwitchInstruction.java | 15 +++++++++++++++ .../instructions/UnwrapArrayInstruction.java | 15 +++++++++++++++ .../main/java/org/teavm/model/package-info.java | 17 ++++++++++++++++- .../teavm/model/resource/ClassRefsRenamer.java | 15 +++++++++++++++ .../resource/ClasspathClassHolderSource.java | 15 +++++++++++++++ .../model/resource/ClasspathResourceMapper.java | 15 +++++++++++++++ .../model/resource/ClasspathResourceReader.java | 15 +++++++++++++++ .../model/resource/MapperClassHolderSource.java | 15 +++++++++++++++ .../resource/ResourceClassHolderMapper.java | 15 +++++++++++++++ .../teavm/model/resource/ResourceParser.java | 15 +++++++++++++++ .../teavm/model/resource/ResourceReader.java | 15 +++++++++++++++ .../teavm/model/util/DefinitionExtractor.java | 15 +++++++++++++++ .../model/util/InstructionStringifier.java | 15 +++++++++++++++ .../util/InstructionTransitionExtractor.java | 15 +++++++++++++++ .../org/teavm/model/util/ListingBuilder.java | 15 +++++++++++++++ .../java/org/teavm/model/util/ProgramUtils.java | 15 +++++++++++++++ .../teavm/optimization/ClassSetOptimizer.java | 15 +++++++++++++++ .../CommonSubexpressionElimination.java | 15 +++++++++++++++ .../teavm/optimization/MethodOptimization.java | 15 +++++++++++++++ .../UnreachableBasicBlockEliminator.java | 15 +++++++++++++++ .../optimization/UnusedVariableElimination.java | 15 +++++++++++++++ .../optimization/VariableEscapeAnalyzer.java | 15 +++++++++++++++ .../optimization/VariableUsageGraphBuilder.java | 15 +++++++++++++++ .../src/main/java/org/teavm/parsing/Parser.java | 15 +++++++++++++++ .../java/org/teavm/parsing/SSATransformer.java | 15 +++++++++++++++ .../resources/org/teavm/javascript/runtime.js | 15 +++++++++++++++ teavm-maven-plugin/pom.xml | 15 +++++++++++++++ .../teavm/maven/BuildJavascriptJUnitMojo.java | 15 +++++++++++++++ .../org/teavm/maven/BuildJavascriptMojo.java | 15 +++++++++++++++ .../resources/org/teavm/maven/junit-support.js | 15 +++++++++++++++ .../main/resources/org/teavm/maven/junit.css | 15 +++++++++++++++ .../main/resources/org/teavm/maven/junit.html | 15 +++++++++++++++ .../main/resources/org/teavm/maven/main.html | 15 +++++++++++++++ teavm-samples/pom.xml | 15 +++++++++++++++ .../main/java/org/teavm/samples/HelloWorld.java | 15 +++++++++++++++ teavm-samples/src/main/resources/.gitignore | 0 teavm-samples/src/test/java/.gitignore | 0 teavm-samples/src/test/resources/.gitignore | 0 187 files changed, 2721 insertions(+), 7 deletions(-) create mode 100644 NOTICE create mode 100644 teavm-samples/src/main/resources/.gitignore create mode 100644 teavm-samples/src/test/java/.gitignore create mode 100644 teavm-samples/src/test/resources/.gitignore diff --git a/LICENSE b/LICENSE index 411f88baf..d64569567 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,5 @@ -Apache License + + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -178,7 +179,7 @@ Apache License APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -186,7 +187,7 @@ Apache License same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2013 Alexey Andreev + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -199,4 +200,3 @@ Apache License WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - diff --git a/NOTICE b/NOTICE new file mode 100644 index 000000000..c56a5e4ea --- /dev/null +++ b/NOTICE @@ -0,0 +1,2 @@ +This product includes software developed by The Apache Software +Foundation (http://www.apache.org/). \ No newline at end of file diff --git a/teavm-classlib/pom.xml b/teavm-classlib/pom.xml index e242077f1..c3407f71d 100644 --- a/teavm-classlib/pom.xml +++ b/teavm-classlib/pom.xml @@ -1,3 +1,18 @@ + 4.0.0 diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/ByteBuffer.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/ByteBuffer.java index 07dccaca5..aa161983f 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/ByteBuffer.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/ByteBuffer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.impl.charset; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/CharBuffer.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/CharBuffer.java index 26584c705..b2332d2ef 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/CharBuffer.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/CharBuffer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.impl.charset; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/Charset.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/Charset.java index 36de70f28..d2cc3c882 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/Charset.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/Charset.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.impl.charset; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF16Helper.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF16Helper.java index e1ee06530..163be31fd 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF16Helper.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF16Helper.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.impl.charset; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF8Charset.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF8Charset.java index 5a9bc60ec..55c7c2ec4 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF8Charset.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/charset/UTF8Charset.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.impl.charset; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TCloseable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TCloseable.java index 102ab7b6b..1a0c5c117 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TCloseable.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TCloseable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; import org.teavm.classlib.java.lang.TAutoCloseable; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFilterOutputStream.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFilterOutputStream.java index 4a1487eaf..bcafb5a26 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFilterOutputStream.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFilterOutputStream.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFlushable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFlushable.java index 5174d7bba..93d71817a 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFlushable.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TFlushable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TIOException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TIOException.java index 663b56f97..6556fa896 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TIOException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TIOException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; import org.teavm.classlib.java.lang.TException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TOutputStream.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TOutputStream.java index 30a46ed4c..ba2d36820 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TOutputStream.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TOutputStream.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; import org.teavm.classlib.java.lang.TObject; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java index 33a7d2cf6..b55db055f 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; import org.teavm.classlib.impl.charset.ByteBuffer; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TSerializable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TSerializable.java index c7b0cc85b..a21f62799 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TSerializable.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TSerializable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TUnsupportedEncodingException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TUnsupportedEncodingException.java index 9ceb8af52..87cc20a35 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TUnsupportedEncodingException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/io/TUnsupportedEncodingException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.io; import org.teavm.classlib.java.lang.TString; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ClassNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ClassNativeGenerator.java index 7bfdcf085..41f70d884 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ClassNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ClassNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ConsoleOutputStreamGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ConsoleOutputStreamGenerator.java index 7e6a711b1..8fbd93581 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ConsoleOutputStreamGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ConsoleOutputStreamGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/DoubleNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/DoubleNativeGenerator.java index fdafa5fa2..bb78f8d6c 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/DoubleNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/DoubleNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/FloatNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/FloatNativeGenerator.java index 82006a882..332d80e7f 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/FloatNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/FloatNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ObjectNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ObjectNativeGenerator.java index b2d809e1d..5f813f078 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ObjectNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/ObjectNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/StringNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/StringNativeGenerator.java index 2dd0c0135..a7fce4f3c 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/StringNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/StringNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/SystemNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/SystemNativeGenerator.java index 16f25672f..9b917700c 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/SystemNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/SystemNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAbstractStringBuilder.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAbstractStringBuilder.java index 8a4e4394c..ee2261353 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAbstractStringBuilder.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAbstractStringBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.classlib.impl.charset.UTF16Helper; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TArrayStoreException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TArrayStoreException.java index 35d8873c0..130b5405c 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TArrayStoreException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TArrayStoreException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAutoCloseable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAutoCloseable.java index 7606f9ae5..60fcda3ec 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAutoCloseable.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TAutoCloseable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TCharSequence.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TCharSequence.java index 29ad56209..4d62c3f9e 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TCharSequence.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TCharSequence.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TClass.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TClass.java index 1a6f1b1c4..1e46cde1e 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TClass.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TClass.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.javascript.ni.GeneratedBy; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TComparable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TComparable.java index 87a716e8e..385181776 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TComparable.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TComparable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stderr.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stderr.java index e24f4166b..da0d23007 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stderr.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stderr.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.classlib.java.io.TIOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stdout.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stdout.java index 9b70299e7..df027892f 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stdout.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TConsoleOutputStream_stdout.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.classlib.java.io.TIOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TDouble.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TDouble.java index 78f4dc2d7..72bcb2047 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TDouble.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TDouble.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.javascript.ni.GeneratedBy; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TException.java index ee69a6453..22309892e 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TFloat.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TFloat.java index 24e3502b1..7195d466b 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TFloat.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TFloat.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.javascript.ni.GeneratedBy; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalArgumentException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalArgumentException.java index 24e848749..1044da3e1 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalArgumentException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalArgumentException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalStateException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalStateException.java index 6b3553749..2d5eb5ff5 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalStateException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIllegalStateException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIndexOutOfBoundsException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIndexOutOfBoundsException.java index 264bb5f63..2da60afd7 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIndexOutOfBoundsException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TIndexOutOfBoundsException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TInterruptedException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TInterruptedException.java index ba7deef61..fa5a2dac0 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TInterruptedException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TInterruptedException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TMath.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TMath.java index d2194a1f8..cfdc08630 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TMath.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TMath.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TNullPointerException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TNullPointerException.java index 0f933ed38..ebf3cd334 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TNullPointerException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TNullPointerException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TObject.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TObject.java index adf43112a..31054e245 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TObject.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TObject.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.dependency.PluggableDependency; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TRuntimeException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TRuntimeException.java index 5272c7f4f..789487406 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TRuntimeException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TRuntimeException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.javascript.ni.Superclass; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java index bb927f552..65cd9fd89 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TString.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.classlib.impl.charset.UTF16Helper; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringBuilder.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringBuilder.java index 2b6b854a4..8bcdd7e04 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringBuilder.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringIndexOutOfBoundsException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringIndexOutOfBoundsException.java index f2cbbdd85..e0e2b9a95 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringIndexOutOfBoundsException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TStringIndexOutOfBoundsException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java index 94b65e65c..70e66aafe 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TSystem.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.classlib.java.io.TPrintStream; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TThrowable.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TThrowable.java index 3bd5698d1..6e2860107 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TThrowable.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TThrowable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import org.teavm.javascript.ni.Remove; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TUnsupportedOperationException.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TUnsupportedOperationException.java index 663d7322e..1d925eb50 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TUnsupportedOperationException.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/TUnsupportedOperationException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/annotation/TAnnotation.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/annotation/TAnnotation.java index 863f86765..f33747d15 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/annotation/TAnnotation.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/annotation/TAnnotation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang.annotation; /** diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/ArrayNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/ArrayNativeGenerator.java index a2a9bbb92..f0d6bb2e4 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/ArrayNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/ArrayNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang.reflect; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/TArray.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/TArray.java index bd874e9ad..fca9234b0 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/TArray.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/lang/reflect/TArray.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang.reflect; import org.teavm.classlib.java.lang.TIllegalArgumentException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/util/TArrays.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/util/TArrays.java index b2104b33a..5b6f1f56f 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/util/TArrays.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/util/TArrays.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.util; import org.teavm.classlib.java.lang.TObject; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Assert.java b/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Assert.java index 9c09b919d..9f07b5e01 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Assert.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Assert.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.org.junit; import org.teavm.javascript.ni.GeneratedBy; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/AssertNativeGenerator.java b/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/AssertNativeGenerator.java index 931d23233..2c5300782 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/AssertNativeGenerator.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/AssertNativeGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.org.junit; import java.io.IOException; diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Test.java b/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Test.java index 4144b1262..dea4c7d4a 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Test.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/org/junit/Test.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.org.junit; import java.lang.annotation.ElementType; diff --git a/teavm-classlib/src/main/resources/META-INF/teavm.properties b/teavm-classlib/src/main/resources/META-INF/teavm.properties index 4f7d49c24..cf2fc8c31 100644 --- a/teavm-classlib/src/main/resources/META-INF/teavm.properties +++ b/teavm-classlib/src/main/resources/META-INF/teavm.properties @@ -1,3 +1,16 @@ +# Copyright 2013 Alexey Andreev. +# +# 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. packagePrefix.java=org.teavm.classlib classPrefix.java=T packagePrefix.org.junit=org.teavm.classlib \ No newline at end of file diff --git a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ClassTest.java b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ClassTest.java index d1c11e141..2896d5142 100644 --- a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ClassTest.java +++ b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ClassTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import static org.junit.Assert.*; diff --git a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ObjectTest.java b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ObjectTest.java index c419c4936..ac9530a69 100644 --- a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ObjectTest.java +++ b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/ObjectTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import static org.junit.Assert.*; diff --git a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringBuilderTest.java b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringBuilderTest.java index 05678f8d5..121083f4b 100644 --- a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringBuilderTest.java +++ b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringBuilderTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import static org.junit.Assert.assertEquals; diff --git a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringTest.java b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringTest.java index 21572dd0b..f23c6d6ce 100644 --- a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringTest.java +++ b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/StringTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import static org.junit.Assert.*; diff --git a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/SystemTest.java b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/SystemTest.java index 3b617bece..e399a9844 100644 --- a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/SystemTest.java +++ b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/SystemTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import static org.junit.Assert.*; diff --git a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/VMTest.java b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/VMTest.java index a874ebc0a..eef2d2ebc 100644 --- a/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/VMTest.java +++ b/teavm-classlib/src/test/java/org/teavm/classlib/java/lang/VMTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.classlib.java.lang; import static org.junit.Assert.assertEquals; diff --git a/teavm-core/pom.xml b/teavm-core/pom.xml index c3339ebd5..d06b52d41 100644 --- a/teavm-core/pom.xml +++ b/teavm-core/pom.xml @@ -1,3 +1,18 @@ + 4.0.0 diff --git a/teavm-core/src/main/java/org/teavm/codegen/MinifyingAliasProvider.java b/teavm-core/src/main/java/org/teavm/codegen/MinifyingAliasProvider.java index 6e612b713..4f8e83d44 100644 --- a/teavm-core/src/main/java/org/teavm/codegen/MinifyingAliasProvider.java +++ b/teavm-core/src/main/java/org/teavm/codegen/MinifyingAliasProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.codegen; import org.teavm.model.FieldReference; diff --git a/teavm-core/src/main/java/org/teavm/codegen/NamingException.java b/teavm-core/src/main/java/org/teavm/codegen/NamingException.java index aabaad4ff..291c58e41 100644 --- a/teavm-core/src/main/java/org/teavm/codegen/NamingException.java +++ b/teavm-core/src/main/java/org/teavm/codegen/NamingException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.codegen; /** diff --git a/teavm-core/src/main/java/org/teavm/codegen/SourceWriter.java b/teavm-core/src/main/java/org/teavm/codegen/SourceWriter.java index 6c0e2c14b..87b323ea3 100644 --- a/teavm-core/src/main/java/org/teavm/codegen/SourceWriter.java +++ b/teavm-core/src/main/java/org/teavm/codegen/SourceWriter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.codegen; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/codegen/SourceWriterBuilder.java b/teavm-core/src/main/java/org/teavm/codegen/SourceWriterBuilder.java index 5bd54d93e..f3748421c 100644 --- a/teavm-core/src/main/java/org/teavm/codegen/SourceWriterBuilder.java +++ b/teavm-core/src/main/java/org/teavm/codegen/SourceWriterBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.codegen; /** diff --git a/teavm-core/src/main/java/org/teavm/common/DefaultDominatorTree.java b/teavm-core/src/main/java/org/teavm/common/DefaultDominatorTree.java index 91b9c3062..4c51cab8b 100644 --- a/teavm-core/src/main/java/org/teavm/common/DefaultDominatorTree.java +++ b/teavm-core/src/main/java/org/teavm/common/DefaultDominatorTree.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.common; /** diff --git a/teavm-core/src/main/java/org/teavm/common/DominatorTreeBuilder.java b/teavm-core/src/main/java/org/teavm/common/DominatorTreeBuilder.java index 20f0e12d3..5f603a4d1 100644 --- a/teavm-core/src/main/java/org/teavm/common/DominatorTreeBuilder.java +++ b/teavm-core/src/main/java/org/teavm/common/DominatorTreeBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.common; import java.util.Arrays; diff --git a/teavm-core/src/main/java/org/teavm/common/GraphBuilder.java b/teavm-core/src/main/java/org/teavm/common/GraphBuilder.java index f95be8566..7a072a96a 100644 --- a/teavm-core/src/main/java/org/teavm/common/GraphBuilder.java +++ b/teavm-core/src/main/java/org/teavm/common/GraphBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.common; import java.util.ArrayList; diff --git a/teavm-core/src/main/java/org/teavm/common/GraphWithIndexedEdges.java b/teavm-core/src/main/java/org/teavm/common/GraphWithIndexedEdges.java index 5f14c90b6..d80457536 100644 --- a/teavm-core/src/main/java/org/teavm/common/GraphWithIndexedEdges.java +++ b/teavm-core/src/main/java/org/teavm/common/GraphWithIndexedEdges.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.common; import java.util.Arrays; diff --git a/teavm-core/src/main/java/org/teavm/common/Mapper.java b/teavm-core/src/main/java/org/teavm/common/Mapper.java index c229708d0..9b6733685 100644 --- a/teavm-core/src/main/java/org/teavm/common/Mapper.java +++ b/teavm-core/src/main/java/org/teavm/common/Mapper.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.common; /** diff --git a/teavm-core/src/main/java/org/teavm/dependency/DependencyConsumer.java b/teavm-core/src/main/java/org/teavm/dependency/DependencyConsumer.java index d3c20b74f..aaaca5ab6 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/DependencyConsumer.java +++ b/teavm-core/src/main/java/org/teavm/dependency/DependencyConsumer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.dependency; /** diff --git a/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java b/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java index 48b9379c0..84550d230 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java +++ b/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.dependency; /** diff --git a/teavm-core/src/main/java/org/teavm/dependency/DependencyPlugin.java b/teavm-core/src/main/java/org/teavm/dependency/DependencyPlugin.java index c6c3fbae2..e3cb81320 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/DependencyPlugin.java +++ b/teavm-core/src/main/java/org/teavm/dependency/DependencyPlugin.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.dependency; import org.teavm.model.MethodReference; diff --git a/teavm-core/src/main/java/org/teavm/dependency/DependencyTypeFilter.java b/teavm-core/src/main/java/org/teavm/dependency/DependencyTypeFilter.java index 87f048195..96ff12e64 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/DependencyTypeFilter.java +++ b/teavm-core/src/main/java/org/teavm/dependency/DependencyTypeFilter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.dependency; /** diff --git a/teavm-core/src/main/java/org/teavm/dependency/PluggableDependency.java b/teavm-core/src/main/java/org/teavm/dependency/PluggableDependency.java index d7ab81691..35996e820 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/PluggableDependency.java +++ b/teavm-core/src/main/java/org/teavm/dependency/PluggableDependency.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.dependency; import java.lang.annotation.ElementType; diff --git a/teavm-core/src/main/java/org/teavm/javascript/DecompilationException.java b/teavm-core/src/main/java/org/teavm/javascript/DecompilationException.java index 1b9672c44..9febd686f 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/DecompilationException.java +++ b/teavm-core/src/main/java/org/teavm/javascript/DecompilationException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/JavascriptBuilder.java b/teavm-core/src/main/java/org/teavm/javascript/JavascriptBuilder.java index fef3c10bf..ff1a80e8b 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/JavascriptBuilder.java +++ b/teavm-core/src/main/java/org/teavm/javascript/JavascriptBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript; import java.io.*; diff --git a/teavm-core/src/main/java/org/teavm/javascript/JavascriptEntryPoint.java b/teavm-core/src/main/java/org/teavm/javascript/JavascriptEntryPoint.java index 7b931a0f2..5f7f0f7a9 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/JavascriptEntryPoint.java +++ b/teavm-core/src/main/java/org/teavm/javascript/JavascriptEntryPoint.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript; import org.teavm.dependency.MethodGraph; diff --git a/teavm-core/src/main/java/org/teavm/javascript/RenderingException.java b/teavm-core/src/main/java/org/teavm/javascript/RenderingException.java index a2b742eca..c08473c46 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/RenderingException.java +++ b/teavm-core/src/main/java/org/teavm/javascript/RenderingException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/StatementGenerator.java b/teavm-core/src/main/java/org/teavm/javascript/StatementGenerator.java index f594d73ee..37880481e 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/StatementGenerator.java +++ b/teavm-core/src/main/java/org/teavm/javascript/StatementGenerator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript; import java.util.*; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/ClassNode.java b/teavm-core/src/main/java/org/teavm/javascript/ast/ClassNode.java index 0329d0144..16813b773 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/ClassNode.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/ClassNode.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; import java.util.ArrayList; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/FieldNode.java b/teavm-core/src/main/java/org/teavm/javascript/ast/FieldNode.java index 204379b46..f1d894ca9 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/FieldNode.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/FieldNode.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; import java.util.EnumSet; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/InitClassStatement.java b/teavm-core/src/main/java/org/teavm/javascript/ast/InitClassStatement.java index e76cbd132..fd1e81151 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/InitClassStatement.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/InitClassStatement.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/MethodNodeVisitor.java b/teavm-core/src/main/java/org/teavm/javascript/ast/MethodNodeVisitor.java index e03dbbf58..086dd212d 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/MethodNodeVisitor.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/MethodNodeVisitor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/NativeMethodNode.java b/teavm-core/src/main/java/org/teavm/javascript/ast/NativeMethodNode.java index 98a77aca5..e08e83a83 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/NativeMethodNode.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/NativeMethodNode.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; import org.teavm.javascript.ni.Generator; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/NodeModifier.java b/teavm-core/src/main/java/org/teavm/javascript/ast/NodeModifier.java index b6f86eede..f81781764 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/NodeModifier.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/NodeModifier.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/RegularMethodNode.java b/teavm-core/src/main/java/org/teavm/javascript/ast/RegularMethodNode.java index 54562aa19..5e2041167 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/RegularMethodNode.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/RegularMethodNode.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; import org.teavm.model.MethodReference; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/RenamingVisitor.java b/teavm-core/src/main/java/org/teavm/javascript/ast/RenamingVisitor.java index 31d961b03..0ddb850f5 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/RenamingVisitor.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/RenamingVisitor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/ast/UnwrapArrayExpr.java b/teavm-core/src/main/java/org/teavm/javascript/ast/UnwrapArrayExpr.java index 2bab1d05c..708005e9a 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ast/UnwrapArrayExpr.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ast/UnwrapArrayExpr.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ast; import java.util.Map; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratedBy.java b/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratedBy.java index aac6fe9e8..82d95518b 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratedBy.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratedBy.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ni; import java.lang.annotation.ElementType; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ni/Generator.java b/teavm-core/src/main/java/org/teavm/javascript/ni/Generator.java index d4e0bba25..41abd3cff 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ni/Generator.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ni/Generator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ni; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratorContext.java b/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratorContext.java index ab215c949..bb08bf93e 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratorContext.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ni/GeneratorContext.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ni; /** diff --git a/teavm-core/src/main/java/org/teavm/javascript/ni/Remove.java b/teavm-core/src/main/java/org/teavm/javascript/ni/Remove.java index c613bdd65..9667f9107 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ni/Remove.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ni/Remove.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ni; import java.lang.annotation.ElementType; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ni/Rename.java b/teavm-core/src/main/java/org/teavm/javascript/ni/Rename.java index 0d806ccb2..7a3726873 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ni/Rename.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ni/Rename.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ni; import java.lang.annotation.ElementType; diff --git a/teavm-core/src/main/java/org/teavm/javascript/ni/Superclass.java b/teavm-core/src/main/java/org/teavm/javascript/ni/Superclass.java index de5600d09..3da48b787 100644 --- a/teavm-core/src/main/java/org/teavm/javascript/ni/Superclass.java +++ b/teavm-core/src/main/java/org/teavm/javascript/ni/Superclass.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.javascript.ni; import java.lang.annotation.ElementType; diff --git a/teavm-core/src/main/java/org/teavm/model/AccessLevel.java b/teavm-core/src/main/java/org/teavm/model/AccessLevel.java index 1f31e200f..8837b9541 100644 --- a/teavm-core/src/main/java/org/teavm/model/AccessLevel.java +++ b/teavm-core/src/main/java/org/teavm/model/AccessLevel.java @@ -1,5 +1,5 @@ /* - * Copyright 2012 Alexey Andreev. + * Copyright 2013 Alexey Andreev. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/teavm-core/src/main/java/org/teavm/model/AnnotationContainer.java b/teavm-core/src/main/java/org/teavm/model/AnnotationContainer.java index fc17e5769..9278ac66b 100644 --- a/teavm-core/src/main/java/org/teavm/model/AnnotationContainer.java +++ b/teavm-core/src/main/java/org/teavm/model/AnnotationContainer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; import java.util.HashMap; diff --git a/teavm-core/src/main/java/org/teavm/model/BasicBlock.java b/teavm-core/src/main/java/org/teavm/model/BasicBlock.java index c1d1e2d31..d0ef60cba 100644 --- a/teavm-core/src/main/java/org/teavm/model/BasicBlock.java +++ b/teavm-core/src/main/java/org/teavm/model/BasicBlock.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; import java.util.*; diff --git a/teavm-core/src/main/java/org/teavm/model/ClassHolderSource.java b/teavm-core/src/main/java/org/teavm/model/ClassHolderSource.java index 4a545f17a..4df111e58 100644 --- a/teavm-core/src/main/java/org/teavm/model/ClassHolderSource.java +++ b/teavm-core/src/main/java/org/teavm/model/ClassHolderSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; /** diff --git a/teavm-core/src/main/java/org/teavm/model/FieldReference.java b/teavm-core/src/main/java/org/teavm/model/FieldReference.java index 1c7394441..93ba84e29 100644 --- a/teavm-core/src/main/java/org/teavm/model/FieldReference.java +++ b/teavm-core/src/main/java/org/teavm/model/FieldReference.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; /** diff --git a/teavm-core/src/main/java/org/teavm/model/Incoming.java b/teavm-core/src/main/java/org/teavm/model/Incoming.java index 39c5f5de1..d7df07bd4 100644 --- a/teavm-core/src/main/java/org/teavm/model/Incoming.java +++ b/teavm-core/src/main/java/org/teavm/model/Incoming.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; /** diff --git a/teavm-core/src/main/java/org/teavm/model/Instruction.java b/teavm-core/src/main/java/org/teavm/model/Instruction.java index 328655507..b63ae11a9 100644 --- a/teavm-core/src/main/java/org/teavm/model/Instruction.java +++ b/teavm-core/src/main/java/org/teavm/model/Instruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; import org.teavm.model.instructions.InstructionVisitor; diff --git a/teavm-core/src/main/java/org/teavm/model/ListableClassHolderSource.java b/teavm-core/src/main/java/org/teavm/model/ListableClassHolderSource.java index 3199062fe..5212d5018 100644 --- a/teavm-core/src/main/java/org/teavm/model/ListableClassHolderSource.java +++ b/teavm-core/src/main/java/org/teavm/model/ListableClassHolderSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; import java.util.Set; diff --git a/teavm-core/src/main/java/org/teavm/model/MethodReference.java b/teavm-core/src/main/java/org/teavm/model/MethodReference.java index 1cb768bcf..e70bdea63 100644 --- a/teavm-core/src/main/java/org/teavm/model/MethodReference.java +++ b/teavm-core/src/main/java/org/teavm/model/MethodReference.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; /** diff --git a/teavm-core/src/main/java/org/teavm/model/Phi.java b/teavm-core/src/main/java/org/teavm/model/Phi.java index 07f6ac425..744d106fd 100644 --- a/teavm-core/src/main/java/org/teavm/model/Phi.java +++ b/teavm-core/src/main/java/org/teavm/model/Phi.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; import java.util.AbstractList; diff --git a/teavm-core/src/main/java/org/teavm/model/Program.java b/teavm-core/src/main/java/org/teavm/model/Program.java index 96e03f41e..470012c4e 100644 --- a/teavm-core/src/main/java/org/teavm/model/Program.java +++ b/teavm-core/src/main/java/org/teavm/model/Program.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; import java.util.ArrayList; diff --git a/teavm-core/src/main/java/org/teavm/model/Variable.java b/teavm-core/src/main/java/org/teavm/model/Variable.java index 8d2b10ab7..d363aed42 100644 --- a/teavm-core/src/main/java/org/teavm/model/Variable.java +++ b/teavm-core/src/main/java/org/teavm/model/Variable.java @@ -1,6 +1,20 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model; - /** * * @author Alexey Andreev diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ArrayElementType.java b/teavm-core/src/main/java/org/teavm/model/instructions/ArrayElementType.java index 9b43c6204..b74fc419c 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ArrayElementType.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ArrayElementType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ArrayLengthInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/ArrayLengthInstruction.java index c7af56878..82dc76583 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ArrayLengthInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ArrayLengthInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/AssignInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/AssignInstruction.java index c40cfded9..247ff7bb8 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/AssignInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/AssignInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingCondition.java b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingCondition.java index 1e4d24671..e68da5e60 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingCondition.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingCondition.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingInstruction.java index 60d89fc8c..8e69de2d6 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryBranchingInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.BasicBlock; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryInstruction.java index f55d0eabb..f0ee3c8a3 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryOperation.java b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryOperation.java index df726eb8b..852245f46 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/BinaryOperation.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/BinaryOperation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/BranchingCondition.java b/teavm-core/src/main/java/org/teavm/model/instructions/BranchingCondition.java index 7ebd28fe4..5733c9673 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/BranchingCondition.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/BranchingCondition.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/BranchingInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/BranchingInstruction.java index 9227850e5..397b92791 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/BranchingInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/BranchingInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.BasicBlock; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/CastInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/CastInstruction.java index f5cfd7ab7..962945616 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/CastInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/CastInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerDirection.java b/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerDirection.java index 7eb63d162..305047201 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerDirection.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerDirection.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerInstruction.java index 62f1e48a8..1453e792c 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/CastIntegerInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/CastNumberInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/CastNumberInstruction.java index 3f09f0672..6ab98a068 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/CastNumberInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/CastNumberInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ClassConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/ClassConstantInstruction.java index ca73f01b5..59422d934 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ClassConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ClassConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.*; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/CloneArrayInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/CloneArrayInstruction.java index 0535acc96..6cd56c2bd 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/CloneArrayInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/CloneArrayInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ConstructArrayInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/ConstructArrayInstruction.java index 93e93344b..4c7c64436 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ConstructArrayInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ConstructArrayInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.*; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ConstructInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/ConstructInstruction.java index 600e1c283..b8422d549 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ConstructInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ConstructInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ConstructMultiArrayInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/ConstructMultiArrayInstruction.java index 4938097e0..726c1a6e8 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ConstructMultiArrayInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ConstructMultiArrayInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import java.util.ArrayList; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/DoubleConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/DoubleConstantInstruction.java index 18648a6b8..5f5ecdb5d 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/DoubleConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/DoubleConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/EmptyInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/EmptyInstruction.java index 538098c6a..53871380b 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/EmptyInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/EmptyInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/ExitInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/ExitInstruction.java index adddc543e..eb7e4f294 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/ExitInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/ExitInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/FloatConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/FloatConstantInstruction.java index 1fbfd94a9..e092a3e0b 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/FloatConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/FloatConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/GetElementInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/GetElementInstruction.java index 9c26284e5..ac3e7fac8 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/GetElementInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/GetElementInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/GetFieldInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/GetFieldInstruction.java index 56913b324..7954fd6f3 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/GetFieldInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/GetFieldInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.FieldReference; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/InitClassInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/InitClassInstruction.java index 89155750a..adc286696 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/InitClassInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/InitClassInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/InstructionVisitor.java b/teavm-core/src/main/java/org/teavm/model/instructions/InstructionVisitor.java index d53d5534c..243139214 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/InstructionVisitor.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/InstructionVisitor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/IntegerConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/IntegerConstantInstruction.java index 745fabe63..a1388c3b0 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/IntegerConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/IntegerConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/IntegerSubtype.java b/teavm-core/src/main/java/org/teavm/model/instructions/IntegerSubtype.java index 18755c682..6adf7cc9b 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/IntegerSubtype.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/IntegerSubtype.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/InvocationType.java b/teavm-core/src/main/java/org/teavm/model/instructions/InvocationType.java index b2e982bdb..2e1629eb3 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/InvocationType.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/InvocationType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/InvokeInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/InvokeInstruction.java index 429c5a82b..59ff4d2bb 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/InvokeInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/InvokeInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import java.util.ArrayList; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/IsInstanceInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/IsInstanceInstruction.java index b075a1404..d8126895e 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/IsInstanceInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/IsInstanceInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.*; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/JumpInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/JumpInstruction.java index aadfa8dbc..b22f1bfa5 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/JumpInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/JumpInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.BasicBlock; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/LongConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/LongConstantInstruction.java index a9988e9f1..c78429b70 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/LongConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/LongConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/NegateInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/NegateInstruction.java index 0a5bd048a..18f5b11fd 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/NegateInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/NegateInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/NullConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/NullConstantInstruction.java index dd1cc8cb6..3cdcca69f 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/NullConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/NullConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/NumericOperandType.java b/teavm-core/src/main/java/org/teavm/model/instructions/NumericOperandType.java index 9323a1c06..75e31bd32 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/NumericOperandType.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/NumericOperandType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; /** diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/PutElementInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/PutElementInstruction.java index 0849cac57..d1c32ba45 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/PutElementInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/PutElementInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/PutFieldInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/PutFieldInstruction.java index 631fdafb2..016217576 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/PutFieldInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/PutFieldInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.FieldReference; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/RaiseInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/RaiseInstruction.java index 2970794b0..b1c629dbd 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/RaiseInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/RaiseInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/StringConstantInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/StringConstantInstruction.java index 8e60b0566..c9216dfe8 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/StringConstantInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/StringConstantInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/SwitchInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/SwitchInstruction.java index a9fa132c6..af2e3baad 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/SwitchInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/SwitchInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import java.util.AbstractList; diff --git a/teavm-core/src/main/java/org/teavm/model/instructions/UnwrapArrayInstruction.java b/teavm-core/src/main/java/org/teavm/model/instructions/UnwrapArrayInstruction.java index 7c97630f1..78c70142c 100644 --- a/teavm-core/src/main/java/org/teavm/model/instructions/UnwrapArrayInstruction.java +++ b/teavm-core/src/main/java/org/teavm/model/instructions/UnwrapArrayInstruction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.instructions; import org.teavm.model.Instruction; diff --git a/teavm-core/src/main/java/org/teavm/model/package-info.java b/teavm-core/src/main/java/org/teavm/model/package-info.java index b002ea412..78d19c131 100644 --- a/teavm-core/src/main/java/org/teavm/model/package-info.java +++ b/teavm-core/src/main/java/org/teavm/model/package-info.java @@ -1,10 +1,25 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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. + */ /** * Represents a class model that is alternative to {@link java.lang.reflection} package. * Model is suitable for representing classes that are not in class path. Also * it allows to disassemble method bodies into three-address code that is very * close to JVM bytecode (see {@link org.teavm.instructions}. * - *

The entry point is some implementation of {@link MutableClassHolderSource} class. + *

The entry point is some implementation of {@link ClassHolderSource} interface. * */ package org.teavm.model; \ No newline at end of file diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ClassRefsRenamer.java b/teavm-core/src/main/java/org/teavm/model/resource/ClassRefsRenamer.java index a108391c2..48d1d6cd2 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ClassRefsRenamer.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ClassRefsRenamer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import java.util.Map; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ClasspathClassHolderSource.java b/teavm-core/src/main/java/org/teavm/model/resource/ClasspathClassHolderSource.java index f471ca15e..06dd1e52b 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ClasspathClassHolderSource.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ClasspathClassHolderSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import org.teavm.model.ClassHolder; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceMapper.java b/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceMapper.java index e3a5d29f8..2a6a56ba7 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceMapper.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceReader.java b/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceReader.java index 7b2a84bb1..d2633e5c1 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceReader.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ClasspathResourceReader.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/MapperClassHolderSource.java b/teavm-core/src/main/java/org/teavm/model/resource/MapperClassHolderSource.java index 816264f95..2e1228164 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/MapperClassHolderSource.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/MapperClassHolderSource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import org.teavm.common.ConcurrentCachedMapper; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ResourceClassHolderMapper.java b/teavm-core/src/main/java/org/teavm/model/resource/ResourceClassHolderMapper.java index 9088af291..b255eaa4d 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ResourceClassHolderMapper.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ResourceClassHolderMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ResourceParser.java b/teavm-core/src/main/java/org/teavm/model/resource/ResourceParser.java index d5f24dcf5..80c53fd5d 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ResourceParser.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ResourceParser.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/model/resource/ResourceReader.java b/teavm-core/src/main/java/org/teavm/model/resource/ResourceReader.java index d342dae29..0ea870138 100644 --- a/teavm-core/src/main/java/org/teavm/model/resource/ResourceReader.java +++ b/teavm-core/src/main/java/org/teavm/model/resource/ResourceReader.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.resource; import java.io.IOException; diff --git a/teavm-core/src/main/java/org/teavm/model/util/DefinitionExtractor.java b/teavm-core/src/main/java/org/teavm/model/util/DefinitionExtractor.java index 1413d4c29..79fcda1ba 100644 --- a/teavm-core/src/main/java/org/teavm/model/util/DefinitionExtractor.java +++ b/teavm-core/src/main/java/org/teavm/model/util/DefinitionExtractor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.util; import org.teavm.model.Variable; diff --git a/teavm-core/src/main/java/org/teavm/model/util/InstructionStringifier.java b/teavm-core/src/main/java/org/teavm/model/util/InstructionStringifier.java index be039b0bf..ae7285fe7 100644 --- a/teavm-core/src/main/java/org/teavm/model/util/InstructionStringifier.java +++ b/teavm-core/src/main/java/org/teavm/model/util/InstructionStringifier.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.util; import java.util.List; diff --git a/teavm-core/src/main/java/org/teavm/model/util/InstructionTransitionExtractor.java b/teavm-core/src/main/java/org/teavm/model/util/InstructionTransitionExtractor.java index c266bc14b..ff671d846 100644 --- a/teavm-core/src/main/java/org/teavm/model/util/InstructionTransitionExtractor.java +++ b/teavm-core/src/main/java/org/teavm/model/util/InstructionTransitionExtractor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.util; import java.util.List; diff --git a/teavm-core/src/main/java/org/teavm/model/util/ListingBuilder.java b/teavm-core/src/main/java/org/teavm/model/util/ListingBuilder.java index 6e860cdc0..c11872c09 100644 --- a/teavm-core/src/main/java/org/teavm/model/util/ListingBuilder.java +++ b/teavm-core/src/main/java/org/teavm/model/util/ListingBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.util; import java.util.List; diff --git a/teavm-core/src/main/java/org/teavm/model/util/ProgramUtils.java b/teavm-core/src/main/java/org/teavm/model/util/ProgramUtils.java index ae572ebe0..7bdacede6 100644 --- a/teavm-core/src/main/java/org/teavm/model/util/ProgramUtils.java +++ b/teavm-core/src/main/java/org/teavm/model/util/ProgramUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.model.util; import org.teavm.common.Graph; diff --git a/teavm-core/src/main/java/org/teavm/optimization/ClassSetOptimizer.java b/teavm-core/src/main/java/org/teavm/optimization/ClassSetOptimizer.java index 9e2144668..e1b3999b4 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/ClassSetOptimizer.java +++ b/teavm-core/src/main/java/org/teavm/optimization/ClassSetOptimizer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import java.util.Arrays; diff --git a/teavm-core/src/main/java/org/teavm/optimization/CommonSubexpressionElimination.java b/teavm-core/src/main/java/org/teavm/optimization/CommonSubexpressionElimination.java index 9c2657cf5..e1932caf5 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/CommonSubexpressionElimination.java +++ b/teavm-core/src/main/java/org/teavm/optimization/CommonSubexpressionElimination.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import java.util.HashMap; diff --git a/teavm-core/src/main/java/org/teavm/optimization/MethodOptimization.java b/teavm-core/src/main/java/org/teavm/optimization/MethodOptimization.java index 77667d56b..425a444f9 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/MethodOptimization.java +++ b/teavm-core/src/main/java/org/teavm/optimization/MethodOptimization.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import org.teavm.model.MethodHolder; diff --git a/teavm-core/src/main/java/org/teavm/optimization/UnreachableBasicBlockEliminator.java b/teavm-core/src/main/java/org/teavm/optimization/UnreachableBasicBlockEliminator.java index c6cd212d3..7d1950007 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/UnreachableBasicBlockEliminator.java +++ b/teavm-core/src/main/java/org/teavm/optimization/UnreachableBasicBlockEliminator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import org.teavm.model.BasicBlock; diff --git a/teavm-core/src/main/java/org/teavm/optimization/UnusedVariableElimination.java b/teavm-core/src/main/java/org/teavm/optimization/UnusedVariableElimination.java index 77ba05786..c8198fa69 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/UnusedVariableElimination.java +++ b/teavm-core/src/main/java/org/teavm/optimization/UnusedVariableElimination.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import org.teavm.common.Graph; diff --git a/teavm-core/src/main/java/org/teavm/optimization/VariableEscapeAnalyzer.java b/teavm-core/src/main/java/org/teavm/optimization/VariableEscapeAnalyzer.java index dac5dd7a4..4f0e3d1c7 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/VariableEscapeAnalyzer.java +++ b/teavm-core/src/main/java/org/teavm/optimization/VariableEscapeAnalyzer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import org.teavm.model.BasicBlock; diff --git a/teavm-core/src/main/java/org/teavm/optimization/VariableUsageGraphBuilder.java b/teavm-core/src/main/java/org/teavm/optimization/VariableUsageGraphBuilder.java index cbd0672c8..1e92e63c7 100644 --- a/teavm-core/src/main/java/org/teavm/optimization/VariableUsageGraphBuilder.java +++ b/teavm-core/src/main/java/org/teavm/optimization/VariableUsageGraphBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.optimization; import org.teavm.common.Graph; diff --git a/teavm-core/src/main/java/org/teavm/parsing/Parser.java b/teavm-core/src/main/java/org/teavm/parsing/Parser.java index d7e046ce2..8a43fe93a 100644 --- a/teavm-core/src/main/java/org/teavm/parsing/Parser.java +++ b/teavm-core/src/main/java/org/teavm/parsing/Parser.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.parsing; import java.util.ArrayList; diff --git a/teavm-core/src/main/java/org/teavm/parsing/SSATransformer.java b/teavm-core/src/main/java/org/teavm/parsing/SSATransformer.java index d3373ca2d..0a933bab5 100644 --- a/teavm-core/src/main/java/org/teavm/parsing/SSATransformer.java +++ b/teavm-core/src/main/java/org/teavm/parsing/SSATransformer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.parsing; import java.util.Arrays; diff --git a/teavm-core/src/main/resources/org/teavm/javascript/runtime.js b/teavm-core/src/main/resources/org/teavm/javascript/runtime.js index 8fbbcd3c7..6179aad94 100644 --- a/teavm-core/src/main/resources/org/teavm/javascript/runtime.js +++ b/teavm-core/src/main/resources/org/teavm/javascript/runtime.js @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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. + */ $rt_lastObjectId = 0; $rt_nextId = function() { return $rt_lastObjectId++; diff --git a/teavm-maven-plugin/pom.xml b/teavm-maven-plugin/pom.xml index 2d976d54b..af45512ee 100644 --- a/teavm-maven-plugin/pom.xml +++ b/teavm-maven-plugin/pom.xml @@ -1,3 +1,18 @@ + 4.0.0 diff --git a/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptJUnitMojo.java b/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptJUnitMojo.java index aa8564a95..071f9a066 100644 --- a/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptJUnitMojo.java +++ b/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptJUnitMojo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.maven; import java.io.*; diff --git a/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptMojo.java b/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptMojo.java index 0937a63cd..1fd1cfcce 100644 --- a/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptMojo.java +++ b/teavm-maven-plugin/src/main/java/org/teavm/maven/BuildJavascriptMojo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.maven; import java.io.*; diff --git a/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit-support.js b/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit-support.js index 0377aa9f5..54dccc19e 100644 --- a/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit-support.js +++ b/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit-support.js @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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. + */ JUnitServer = function(container) { this.container = container; this.timeSpent = 0; diff --git a/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.css b/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.css index dc81db782..d66b8c9fb 100644 --- a/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.css +++ b/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.css @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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. + */ table { border-collapse: collapse; border: 2px solid black; diff --git a/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.html b/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.html index d50175346..45e3e79e3 100644 --- a/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.html +++ b/teavm-maven-plugin/src/main/resources/org/teavm/maven/junit.html @@ -1,3 +1,18 @@ + diff --git a/teavm-maven-plugin/src/main/resources/org/teavm/maven/main.html b/teavm-maven-plugin/src/main/resources/org/teavm/maven/main.html index 7c57785e6..2f073fad6 100644 --- a/teavm-maven-plugin/src/main/resources/org/teavm/maven/main.html +++ b/teavm-maven-plugin/src/main/resources/org/teavm/maven/main.html @@ -1,3 +1,18 @@ + diff --git a/teavm-samples/pom.xml b/teavm-samples/pom.xml index bdfc89456..3c95c5504 100644 --- a/teavm-samples/pom.xml +++ b/teavm-samples/pom.xml @@ -1,3 +1,18 @@ + 4.0.0 diff --git a/teavm-samples/src/main/java/org/teavm/samples/HelloWorld.java b/teavm-samples/src/main/java/org/teavm/samples/HelloWorld.java index 7bbf1febc..ce4f9036f 100644 --- a/teavm-samples/src/main/java/org/teavm/samples/HelloWorld.java +++ b/teavm-samples/src/main/java/org/teavm/samples/HelloWorld.java @@ -1,3 +1,18 @@ +/* + * Copyright 2013 Alexey Andreev. + * + * 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.teavm.samples; /** diff --git a/teavm-samples/src/main/resources/.gitignore b/teavm-samples/src/main/resources/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/teavm-samples/src/test/java/.gitignore b/teavm-samples/src/test/java/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/teavm-samples/src/test/resources/.gitignore b/teavm-samples/src/test/resources/.gitignore new file mode 100644 index 000000000..e69de29bb