AnnotationTarget
Contains the list of code elements which are the possible annotation targets
Since Kotlin
1.0Entries
Link copied to clipboard
Annotation class only
Link copied to clipboard
Generic type parameter
Link copied to clipboard
Local variable
Link copied to clipboard
Value parameter of a function or a constructor
Link copied to clipboard
Constructor only (primary or secondary)
Link copied to clipboard
Property getter only
Link copied to clipboard
Property setter only
Link copied to clipboard
Any expression
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Since Kotlin 1.0
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.
Since Kotlin 1.0