DescriptorRenderer to render annotations for all types + separate option to render annotation arguments + use it in IdeDescriptorRenderers
This commit is contained in:
Vendored
+1
-1
@@ -6,6 +6,6 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
@test.Anno() public final val property: kotlin.Int
|
||||
@test.Anno public final val property: kotlin.Int
|
||||
public final fun <get-property>(): kotlin.Int
|
||||
}
|
||||
|
||||
compiler/testData/loadJava/compiledKotlin/annotations/propertiesWithoutBackingFields/ClassObject.txt
Vendored
+1
-1
@@ -9,7 +9,7 @@ public final class Class {
|
||||
|
||||
public companion object Companion {
|
||||
/*primary*/ private constructor Companion()
|
||||
@test.Anno() public final val property: kotlin.Int
|
||||
@test.Anno public final val property: kotlin.Int
|
||||
public final fun <get-property>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -2,11 +2,11 @@ package test
|
||||
|
||||
public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
@test.DoubleAnno() public final val kotlin.Double.extension: kotlin.Int
|
||||
@test.DoubleAnno public final val kotlin.Double.extension: kotlin.Int
|
||||
public final fun kotlin.Double.<get-extension>(): kotlin.Int
|
||||
@test.IntAnno() public final val kotlin.Int.extension: kotlin.Int
|
||||
@test.IntAnno public final val kotlin.Int.extension: kotlin.Int
|
||||
public final fun kotlin.Int.<get-extension>(): kotlin.Int
|
||||
@test.StringAnno() public final val kotlin.String.extension: kotlin.String
|
||||
@test.StringAnno public final val kotlin.String.extension: kotlin.String
|
||||
public final fun kotlin.String.<get-extension>(): kotlin.String
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
package test
|
||||
|
||||
@test.DoubleAnno() public val kotlin.Double.extension: kotlin.Int
|
||||
@test.DoubleAnno public val kotlin.Double.extension: kotlin.Int
|
||||
public fun kotlin.Double.<get-extension>(): kotlin.Int
|
||||
@test.IntAnno() public val kotlin.Int.extension: kotlin.Int
|
||||
@test.IntAnno public val kotlin.Int.extension: kotlin.Int
|
||||
public fun kotlin.Int.<get-extension>(): kotlin.Int
|
||||
@test.StringAnno() public val kotlin.String.extension: kotlin.String
|
||||
@test.StringAnno public val kotlin.String.extension: kotlin.String
|
||||
public fun kotlin.String.<get-extension>(): kotlin.String
|
||||
|
||||
public final annotation class DoubleAnno : kotlin.Annotation {
|
||||
|
||||
compiler/testData/loadJava/compiledKotlin/annotations/propertiesWithoutBackingFields/NestedTrait.txt
Vendored
+1
-1
@@ -8,7 +8,7 @@ public final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
|
||||
public interface Trait {
|
||||
@test.Anno() public abstract val property: kotlin.Int
|
||||
@test.Anno public abstract val property: kotlin.Int
|
||||
public abstract fun <get-property>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
@test.Anno() public val property: kotlin.Int
|
||||
@test.Anno public val property: kotlin.Int
|
||||
public fun <get-property>(): kotlin.Int
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
|
||||
Vendored
+1
-1
@@ -5,6 +5,6 @@ public final annotation class Anno : kotlin.Annotation {
|
||||
}
|
||||
|
||||
public interface Trait {
|
||||
@test.Anno() public abstract val property: kotlin.Int
|
||||
@test.Anno public abstract val property: kotlin.Int
|
||||
public abstract fun <get-property>(): kotlin.Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ public interface Trait {
|
||||
|
||||
public companion object Companion {
|
||||
/*primary*/ private constructor Companion()
|
||||
@test.Anno() public final val property: kotlin.Int
|
||||
@test.Anno public final val property: kotlin.Int
|
||||
public final fun <get-property>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user