提交 cf7146aa 编写于 作者: M Mikhail Glukhikh

Target is given for Throws annotation

上级 1cb48d5a
...@@ -92,6 +92,7 @@ public annotation class publicField ...@@ -92,6 +92,7 @@ public annotation class publicField
* *
* @property exceptionClasses the list of checked exception classes that may be thrown by the function. * @property exceptionClasses the list of checked exception classes that may be thrown by the function.
*/ */
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR)
@Retention(AnnotationRetention.SOURCE) @Retention(AnnotationRetention.SOURCE)
public annotation class Throws(public vararg val exceptionClasses: KClass<out Throwable>) public annotation class Throws(public vararg val exceptionClasses: KClass<out Throwable>)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册