Add options for wrapping local variable and property annotations
#KT-14950 Fixed
This commit is contained in:
+2
-1
@@ -4,5 +4,6 @@ annotation class Annotation3(val a: Int = 0)
|
||||
|
||||
|
||||
class TestClass(@Annotation1(42) @Annotation3(42) text: String = "LoremIpsum") {
|
||||
private @Annotation1(42) @field:Annotation2(42) val text = text
|
||||
private @Annotation1(42) @field:Annotation2(42)
|
||||
val text = text
|
||||
}
|
||||
+2
-1
@@ -3,5 +3,6 @@
|
||||
annotation class PropertyAnnotation(val a: Int = 0)
|
||||
|
||||
class TestClass(text: String = "LoremIpsum") {
|
||||
private @PropertyAnnotation(42) val text = text
|
||||
private @PropertyAnnotation(42)
|
||||
val text = text
|
||||
}
|
||||
Reference in New Issue
Block a user