commonMain.kotools.assert.Annotations.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assert Show documentation
Show all versions of assert Show documentation
Lightweight and elegant assertions library.
The newest version!
package kotools.assert
/**
* Specifies the first [version] of Kotools Assert where a declaration has
* appeared.
*
* The [version] should be in the following formats: `.` or
* `..`, where _major_, _minor_ and _patch_ are
* non-negative integers without leading zeros.
*/
@MustBeDocumented
@Retention(AnnotationRetention.BINARY)
@Target(
AnnotationTarget.CLASS,
AnnotationTarget.CONSTRUCTOR,
AnnotationTarget.FIELD,
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY,
AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.TYPEALIAS
)
internal annotation class SinceKotoolsAssert(val version: String)