Create new HidesMembers annotation

This commit is contained in:
Stanislav Erokhin
2016-01-15 18:41:02 +03:00
parent 0c995d0ae1
commit b185316a6e
9 changed files with 198 additions and 3 deletions
@@ -37,6 +37,14 @@ internal annotation class Exact
@Retention(AnnotationRetention.BINARY)
internal annotation class LowPriorityInOverloadResolution
/**
* Specifies that the corresponding member has the highest priority in overload resolution. Effectively this means that
* an extension annotated with this annotation will win in overload resolution over a member with the same signature.
*/
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
@Retention(AnnotationRetention.BINARY)
internal annotation class HidesMembers
/**
* The value of this type parameter should be mentioned in input types (argument types, receiver type or expected type).
*/