Annotation for preprocessor to mark declaration as jvm-only

This commit is contained in:
Ilya Gorbunov
2015-07-30 22:28:42 +03:00
parent de778d9865
commit ae51f2eb2a
@@ -90,3 +90,10 @@ public annotation class publicField
*/
@Retention(AnnotationRetention.SOURCE)
public annotation class Throws(public vararg val exceptionClasses: KClass<out Throwable>)
@Target(AnnotationTarget.FILE, AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
public annotation class JvmVersion(public val minimum: Int = 6, public val maximum: Int = 100)