KT-24515 Intention to add an exception under the cursor to @Throws annotations
This commit is contained in:
committed by
Yan Zhulanow
parent
3918ec71be
commit
a621171d9b
@@ -0,0 +1,6 @@
|
||||
class MyException : Exception()
|
||||
|
||||
<spot>@Throws(MyException::class)</spot>
|
||||
fun test() {
|
||||
throw MyException()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class MyException : Exception()
|
||||
|
||||
fun test() {
|
||||
throw MyException()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention adds a <b>@Throws</b> annotation for an exception under the caret.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user