Annotation for preprocessor to mark declaration as jvm-only
This commit is contained in:
@@ -90,3 +90,10 @@ public annotation class publicField
|
|||||||
*/
|
*/
|
||||||
@Retention(AnnotationRetention.SOURCE)
|
@Retention(AnnotationRetention.SOURCE)
|
||||||
public annotation class Throws(public vararg val exceptionClasses: KClass<out Throwable>)
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user