'suppress' annotation added to built-ins
#KT-3319 In Progress
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
|||||||
� �2
|
� �2
|
||||||
|R�0B
|
|R�0B
|
||||||
�
|
�
|
||||||
@@ -1602,6 +1602,10 @@ public final annotation class deprecated : jet.Annotation {
|
|||||||
/*primary*/ public constructor deprecated(/*0*/ value: jet.String)
|
/*primary*/ public constructor deprecated(/*0*/ value: jet.String)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final annotation class suppress : jet.Annotation {
|
||||||
|
/*primary*/ public constructor suppress(/*0*/ vararg names: jet.String /*jet.Array<jet.String>*/)
|
||||||
|
}
|
||||||
|
|
||||||
public final annotation class volatile : jet.Annotation {
|
public final annotation class volatile : jet.Annotation {
|
||||||
/*primary*/ public constructor volatile()
|
/*primary*/ public constructor volatile()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -373,6 +373,11 @@ public class KotlinBuiltIns {
|
|||||||
return getBuiltInClassByName("data");
|
return getBuiltInClassByName("data");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
|
public ClassDescriptor getSuppressAnnotationClass() {
|
||||||
|
return getBuiltInClassByName("suppress");
|
||||||
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public ClassDescriptor getVolatileAnnotationClass() {
|
public ClassDescriptor getVolatileAnnotationClass() {
|
||||||
return getBuiltInClassByName("volatile");
|
return getBuiltInClassByName("volatile");
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ public annotation class volatile : Annotation
|
|||||||
public annotation class atomic : Annotation
|
public annotation class atomic : Annotation
|
||||||
public annotation class data : Annotation
|
public annotation class data : Annotation
|
||||||
public annotation class deprecated(value: String) : Annotation
|
public annotation class deprecated(value: String) : Annotation
|
||||||
|
public annotation class suppress(vararg names: String)
|
||||||
|
|
||||||
public fun <R> synchronized(lock: Any, block : () -> R) : R
|
public fun <R> synchronized(lock: Any, block : () -> R) : R
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user