Add intentions for specifying use-site targets for an annotation
So #KT-19871 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e162749366
commit
e06c13732f
+6
@@ -0,0 +1,6 @@
|
||||
annotation class Ann
|
||||
|
||||
class Foo(
|
||||
<spot>@field:Ann</spot>
|
||||
var bar: String
|
||||
)
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
annotation class Ann
|
||||
|
||||
class Foo(
|
||||
<spot>@Ann</spot>
|
||||
var bar: String
|
||||
)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention adds use-site target to annotation that can apply to multiple different Java elements.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user