mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-06-01 23:45:28 +00:00
34 lines
1.0 KiB
Kotlin
34 lines
1.0 KiB
Kotlin
package dev.inmo.micro_utils.common
|
|
|
|
@RequiresOptIn(
|
|
"It is possible, that behaviour of this thing will be changed or removed in future releases",
|
|
RequiresOptIn.Level.WARNING
|
|
)
|
|
@Target(
|
|
AnnotationTarget.CLASS,
|
|
AnnotationTarget.CONSTRUCTOR,
|
|
AnnotationTarget.FIELD,
|
|
AnnotationTarget.PROPERTY,
|
|
AnnotationTarget.PROPERTY_GETTER,
|
|
AnnotationTarget.PROPERTY_SETTER,
|
|
AnnotationTarget.FUNCTION,
|
|
AnnotationTarget.TYPEALIAS
|
|
)
|
|
annotation class PreviewFeature(val message: String = "It is possible, that behaviour of this thing will be changed or removed in future releases")
|
|
|
|
@RequiresOptIn(
|
|
"This thing is marked as warned. See message of warn to get more info",
|
|
RequiresOptIn.Level.WARNING
|
|
)
|
|
@Target(
|
|
AnnotationTarget.CLASS,
|
|
AnnotationTarget.CONSTRUCTOR,
|
|
AnnotationTarget.FIELD,
|
|
AnnotationTarget.PROPERTY,
|
|
AnnotationTarget.PROPERTY_GETTER,
|
|
AnnotationTarget.PROPERTY_SETTER,
|
|
AnnotationTarget.FUNCTION,
|
|
AnnotationTarget.TYPEALIAS
|
|
)
|
|
annotation class Warning(val message: String)
|