For migration: provide deprecated classes inheriting multifile facade classes moved out of kotlin package.

This commit is contained in:
Ilya Gorbunov
2015-11-25 21:37:08 +03:00
parent ae3135c770
commit 16fbdcf107
9 changed files with 146 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
</goals>
@@ -0,0 +1,7 @@
package kotlin;
@java.lang.Deprecated
@kotlin.Deprecated(message = "Use kotlin.collections.ArraysKt instead")
public class ArraysKt extends kotlin.collections.ArraysKt {
}
+22
View File
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin;
@java.lang.Deprecated
@Deprecated(message = "Use kotlin.text.CharsKt instead")
public class CharsKt extends kotlin.text.CharsKt {
}
@@ -0,0 +1,6 @@
package kotlin;
@java.lang.Deprecated
@kotlin.Deprecated(message = "Use kotlin.collections.CollectionsKt instead")
public class CollectionsKt extends kotlin.collections.CollectionsKt {
}
+22
View File
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin;
@java.lang.Deprecated
@Deprecated(message = "Use kotlin.collections.MapsKt instead")
public class MapsKt extends kotlin.collections.MapsKt {
}
+22
View File
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin;
@java.lang.Deprecated
@Deprecated(message = "Use kotlin.ranges.RangesKt instead")
public class RangesKt extends kotlin.ranges.RangesKt {
}
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin;
@java.lang.Deprecated
@Deprecated(message = "Use kotlin.sequences.SequencesKt instead")
public class SequencesKt extends kotlin.sequences.SequencesKt {
}
+22
View File
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin;
@java.lang.Deprecated
@Deprecated(message = "Use kotlin.collections.SetsKt instead")
public class SetsKt extends kotlin.collections.SetsKt {
}
@@ -0,0 +1,22 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin;
@java.lang.Deprecated
@Deprecated(message = "Use kotlin.text.StringsKt instead")
public class StringsKt extends kotlin.text.StringsKt {
}