44 lines
1.5 KiB
Kotlin
44 lines
1.5 KiB
Kotlin
/*
|
|
* 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.internal
|
|
|
|
/**
|
|
* Specifies that the corresponding type should be ignored during type inference.
|
|
*/
|
|
@Target(AnnotationTarget.TYPE)
|
|
@Retention(AnnotationRetention.SOURCE)
|
|
internal annotation class NoInfer
|
|
|
|
/**
|
|
* Specifies that the constraint built for the type during type inference should be an equality one.
|
|
*/
|
|
@Target(AnnotationTarget.TYPE)
|
|
@Retention(AnnotationRetention.SOURCE)
|
|
internal annotation class Exact
|
|
|
|
/**
|
|
* Specifies that a corresponding member has the lowest priority in overload resolution.
|
|
*/
|
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
|
internal annotation class LowPriorityInOverloadResolution
|
|
|
|
/**
|
|
* The value of this type parameter should be mentioned in input types (argument types, receiver type or expected type).
|
|
*/
|
|
@Target(AnnotationTarget.TYPE_PARAMETER)
|
|
@Retention(AnnotationRetention.SOURCE)
|
|
internal annotation class OnlyInputTypes |