kotlin.annotation.Target.<init>

<init>

Target(vararg allowedTargets: AnnotationTarget)

This meta-annotation indicates the kinds of code elements which are possible targets of an annotation.

If the target meta-annotation is not present on an annotation declaration, the annotation is applicable to any code element, except type parameters, type usages, expressions, and files.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
登录查看完整内容