Docs: use consistent kotlinlang.org url in references

This commit is contained in:
Ilya Gorbunov
2019-03-11 19:14:18 +03:00
parent 479e812bbc
commit ffe8b4419c
12 changed files with 33 additions and 132 deletions
+3 -14
View File
@@ -1,24 +1,13 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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 package kotlin
/** /**
* Base interface implicitly implemented by all annotation interfaces. * Base interface implicitly implemented by all annotation interfaces.
* See [Kotlin language documentation](http://kotlinlang.org/docs/reference/annotations.html) for more information * See [Kotlin language documentation](https://kotlinlang.org/docs/reference/annotations.html) for more information
* on annotations. * on annotations.
*/ */
public interface Annotation public interface Annotation
+3 -14
View File
@@ -1,17 +1,6 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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 package kotlin
@@ -20,7 +9,7 @@ package kotlin
* Represents an array (specifically, a Java array when targeting the JVM platform). * Represents an array (specifically, a Java array when targeting the JVM platform).
* Array instances can be created using the [arrayOf], [arrayOfNulls] and [emptyArray] * Array instances can be created using the [arrayOf], [arrayOfNulls] and [emptyArray]
* standard library functions. * standard library functions.
* See [Kotlin language documentation](http://kotlinlang.org/docs/reference/basic-types.html#arrays) * See [Kotlin language documentation](https://kotlinlang.org/docs/reference/basic-types.html#arrays)
* for more information on arrays. * for more information on arrays.
*/ */
public class Array<T> { public class Array<T> {
+3 -14
View File
@@ -1,24 +1,13 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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 package kotlin
/** /**
* The common base class of all enum classes. * The common base class of all enum classes.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/enum-classes.html) for more * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/enum-classes.html) for more
* information on enum classes. * information on enum classes.
*/ */
public abstract class Enum<E : Enum<E>>(name: String, ordinal: Int): Comparable<E> { public abstract class Enum<E : Enum<E>>(name: String, ordinal: Int): Comparable<E> {
+3 -14
View File
@@ -1,17 +1,6 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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 package kotlin
@@ -150,7 +139,7 @@ public annotation class DslMarker
* makes it effectively public. * makes it effectively public.
* *
* Public inline functions cannot use non-public API, since if they are inlined, those non-public API references * Public inline functions cannot use non-public API, since if they are inlined, those non-public API references
* would violate access restrictions at a call site (http://kotlinlang.org/docs/reference/inline-functions.html#public-inline-restrictions). * would violate access restrictions at a call site (https://kotlinlang.org/docs/reference/inline-functions.html#public-inline-restrictions).
* *
* To overcome this restriction an `internal` declaration can be annotated with the `@PublishedApi` annotation: * To overcome this restriction an `internal` declaration can be annotated with the `@PublishedApi` annotation:
* - this allows to call that declaration from public inline functions; * - this allows to call that declaration from public inline functions;
+3 -14
View File
@@ -1,24 +1,13 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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.ranges package kotlin.ranges
/** /**
* Represents a range of values (for example, numbers or characters). * Represents a range of values (for example, numbers or characters).
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/ranges.html) for more information. * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/ranges.html) for more information.
*/ */
public interface ClosedRange<T: Comparable<T>> { public interface ClosedRange<T: Comparable<T>> {
/** /**
@@ -1,24 +1,13 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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.reflect package kotlin.reflect
/** /**
* Represents an annotated element and allows to obtain its annotations. * Represents an annotated element and allows to obtain its annotations.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/annotations.html) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/annotations.html)
* for more information. * for more information.
*/ */
public interface KAnnotatedElement { public interface KAnnotatedElement {
+2 -2
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file. * that can be found in the license/LICENSE.txt file.
*/ */
@@ -8,7 +8,7 @@ package kotlin.reflect
/** /**
* Represents a class and provides introspection capabilities. * Represents a class and provides introspection capabilities.
* Instances of this class are obtainable by the `::class` syntax. * Instances of this class are obtainable by the `::class` syntax.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html#class-references) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html#class-references)
* for more information. * for more information.
* *
* @param T the type of the class. * @param T the type of the class.
+4 -15
View File
@@ -1,17 +1,6 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
@file:Suppress("IMPLEMENTING_FUNCTION_INTERFACE") @file:Suppress("IMPLEMENTING_FUNCTION_INTERFACE")
@@ -21,7 +10,7 @@ package kotlin.reflect
* Represents a property, such as a named `val` or `var` declaration. * Represents a property, such as a named `val` or `var` declaration.
* Instances of this class are obtainable by the `::` operator. * Instances of this class are obtainable by the `::` operator.
* *
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html)
* for more information. * for more information.
* *
* @param R the type of the property. * @param R the type of the property.
@@ -48,7 +37,7 @@ public actual interface KProperty<out R> : KCallable<R> {
/** /**
* Represents a property accessor, which is a `get` or `set` method declared alongside the property. * Represents a property accessor, which is a `get` or `set` method declared alongside the property.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/properties.html#getters-and-setters) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/properties.html#getters-and-setters)
* for more information. * for more information.
* *
* @param R the type of the property, which it is an accessor of. * @param R the type of the property, which it is an accessor of.
+4 -15
View File
@@ -1,17 +1,6 @@
/* /*
* Copyright 2010-2015 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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.reflect package kotlin.reflect
@@ -67,7 +56,7 @@ public interface KType : KAnnotatedElement {
* *
* Type projection is either the star projection, or an entity consisting of a specific type plus optional variance. * Type projection is either the star projection, or an entity consisting of a specific type plus optional variance.
* *
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/generics.html#type-projections) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/generics.html#type-projections)
* for more information. * for more information.
*/ */
@SinceKotlin("1.1") @SinceKotlin("1.1")
@@ -85,7 +74,7 @@ public data class KTypeProjection constructor(
/** /**
* Star projection, denoted by the `*` character. * Star projection, denoted by the `*` character.
* For example, in the type `KClass<*>`, `*` is the star projection. * For example, in the type `KClass<*>`, `*` is the star projection.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/generics.html#star-projections) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/generics.html#star-projections)
* for more information. * for more information.
*/ */
public val STAR: KTypeProjection = KTypeProjection(null, null) public val STAR: KTypeProjection = KTypeProjection(null, null)
@@ -1,24 +1,13 @@
/* /*
* Copyright 2010-2016 JetBrains s.r.o. * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* * that can be found in the license/LICENSE.txt file.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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.reflect package kotlin.reflect
/** /**
* Represents a declaration of a type parameter of a class or a callable. * Represents a declaration of a type parameter of a class or a callable.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/generics.html#generics) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/generics.html#generics)
* for more information. * for more information.
*/ */
@SinceKotlin("1.1") @SinceKotlin("1.1")
@@ -8,7 +8,7 @@ package kotlin.reflect
/** /**
* Represents a class and provides introspection capabilities. * Represents a class and provides introspection capabilities.
* Instances of this class are obtainable by the `::class` syntax. * Instances of this class are obtainable by the `::class` syntax.
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html#class-references) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html#class-references)
* for more information. * for more information.
* *
* @param T the type of the class. * @param T the type of the class.
@@ -10,7 +10,7 @@ package kotlin.reflect
* Represents a property, such as a named `val` or `var` declaration. * Represents a property, such as a named `val` or `var` declaration.
* Instances of this class are obtainable by the `::` operator. * Instances of this class are obtainable by the `::` operator.
* *
* See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/reflection.html) * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/reflection.html)
* for more information. * for more information.
* *
* @param R the type of the property. * @param R the type of the property.