Permalink
Browse files

Update annotations.md

  • Loading branch information...
Na3y committed Jan 11, 2018
1 parent 3219acf commit 4b371ae0596d9290fa21ebb962933abcecd3caeb
Showing with 3 additions and 0 deletions.
  1. +3 −0 annotations.md
View
@@ -322,6 +322,9 @@ public @interface AnnWithArrayMethod {
```
``` kotlin
// Kotlin 1.2+:
@AnnWithArrayMethod(names = ["abc", "foo", "bar"]) class C
// Kotlin
@AnnWithArrayMethod(names = arrayOf("abc", "foo", "bar")) class C
```

0 comments on commit 4b371ae

Please sign in to comment.