ExperimentalCoreApi
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS] )
Opt-in marker annotation for core APIs that are considered experimental and are not subject to compatibility guarantees: The behavior of such API may be changed or the API may be removed completely in any further release.
Please create an issue or join the Discord server if you encounter a problem or want to submit feedback.
Any usage of a declaration annotated with @ExperimentalCoreApi
must be accepted either by annotating that usage with the @OptIn annotation, e.g. @OptIn(ExperimentalCoreApi::class)
, or by using the compiler argument -opt-in=io.github.freya022.botcommands.api.core.annotations.ExperimentalCoreApi
.