Add intentions for specifying use-site targets for an annotation

So #KT-19871 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-03-14 04:06:05 +03:00
committed by Mikhail Glukhikh
parent e162749366
commit e06c13732f
124 changed files with 1778 additions and 0 deletions
@@ -0,0 +1,6 @@
annotation class Ann
class Foo(
<spot>@field:Ann</spot>
var bar: String
)
@@ -0,0 +1,6 @@
annotation class Ann
class Foo(
<spot>@Ann</spot>
var bar: String
)
@@ -0,0 +1,5 @@
<html>
<body>
This intention adds use-site target to annotation that can apply to multiple different Java elements.
</body>
</html>