Package-level declarations
Functions and annotations specific to the Java platform.
Functions and annotations specific to the Java platform.
Types
Link copied to clipboard
Instructs the Kotlin compiler to treat annotated Java class as pure implementation of given Kotlin interface. "Pure" means here that each type parameter of class becomes non-platform type argument of that interface.
Since Kotlin 1.0
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR] )
This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.
Since Kotlin 1.0