1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

fixes of annotations

This commit is contained in:
InsanusMokrassar 2021-08-30 21:02:51 +06:00
parent 148203eabf
commit 4e3ea6cd80

View File

@ -12,9 +12,7 @@ package dev.inmo.tgbotapi.utils
AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.FUNCTION, AnnotationTarget.FUNCTION,
AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS
AnnotationTarget.TYPEALIAS,
AnnotationTarget.TYPE_PARAMETER
) )
annotation class PreviewFeature annotation class PreviewFeature
@ -31,8 +29,6 @@ const val lowLevelRiskFeatureMessage = "This method is low-level and not recomme
AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.FUNCTION, AnnotationTarget.FUNCTION,
AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS
AnnotationTarget.TYPEALIAS,
AnnotationTarget.TYPE_PARAMETER
) )
annotation class RiskFeature(val message: String = lowLevelRiskFeatureMessage) annotation class RiskFeature(val message: String = lowLevelRiskFeatureMessage)