You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/md/kotlin.core/annotations.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
Annotations are a form of syntactically-defined metadata which may be associated with different entities in a Kotlin program.
4
4
Annotations are specified in the source code of the program and may be accessed on a particular platform using platform-specific mechanisms both by the compiler (and source-processing tools) and at runtime (using [reflection][Reflection] facilities).
5
-
Values of annotation types cannot be created directly, but can be operated on when accessed using platform-specific facilities.
5
+
Values of annotation types can also be created directly, but are usually operated on using platform-specific facilities.
6
+
7
+
> Note: before Kotlin 1.6, annotation types could not be created directly.
0 commit comments