diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-09 14:54:19 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-09 14:54:19 +0200 |
commit | 1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d (patch) | |
tree | 147d9f03651404de595b81090767cefe38d9778b /test/data/functions/functionWithAnnotatedParam.kt | |
parent | 60c915a9d35d8026bd2fc1a193b97b89cbf29621 (diff) | |
download | dokka-1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d.tar.gz dokka-1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d.tar.bz2 dokka-1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d.zip |
render annotations with @; render only @MustBeDocumented annotations; render all modifiers
Diffstat (limited to 'test/data/functions/functionWithAnnotatedParam.kt')
-rw-r--r-- | test/data/functions/functionWithAnnotatedParam.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/data/functions/functionWithAnnotatedParam.kt b/test/data/functions/functionWithAnnotatedParam.kt index 640bec83..f858e671 100644 --- a/test/data/functions/functionWithAnnotatedParam.kt +++ b/test/data/functions/functionWithAnnotatedParam.kt @@ -1,2 +1,7 @@ -fun function(noinline notInlined: () -> Unit) { +@Target(AnnotationTarget.VALUE_PARAMETER) +@Retention(AnnotationRetention.SOURCE) +@MustBeDocumented +public annotation class Fancy + +fun function(@Fancy notInlined: () -> Unit) { } |