'suppress' annotation added to built-ins

#KT-3319 In Progress
This commit is contained in:
Andrey Breslav
2013-09-14 21:51:40 +04:00
parent 9fef0c8650
commit b98d05bd73
8 changed files with 12 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
 2
 2
|R 0B


+4
View File
@@ -1602,6 +1602,10 @@ public final annotation class deprecated : jet.Annotation {
/*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 {
/*primary*/ public constructor volatile()
}
@@ -373,6 +373,11 @@ public class KotlinBuiltIns {
return getBuiltInClassByName("data");
}
@NotNull
public ClassDescriptor getSuppressAnnotationClass() {
return getBuiltInClassByName("suppress");
}
@NotNull
public ClassDescriptor getVolatileAnnotationClass() {
return getBuiltInClassByName("volatile");
+1
View File
@@ -6,6 +6,7 @@ public annotation class volatile : Annotation
public annotation class atomic : Annotation
public annotation class data : Annotation
public annotation class deprecated(value: String) : Annotation
public annotation class suppress(vararg names: String)
public fun <R> synchronized(lock: Any, block : () -> R) : R