DescriptorRenderer to render annotations for all types + separate option to render annotation arguments + use it in IdeDescriptorRenderers

This commit is contained in:
Valentin Kipyatkov
2016-09-30 21:34:22 +03:00
parent 8baa9ba1de
commit ec51076355
373 changed files with 1433 additions and 1355 deletions
@@ -1,5 +1,5 @@
package test
@test.AnnotatedAnnotation() public final annotation class AnnotatedAnnotation : kotlin.Annotation {
@test.AnnotatedAnnotation public final annotation class AnnotatedAnnotation : kotlin.Annotation {
public constructor AnnotatedAnnotation()
}
@@ -3,7 +3,7 @@ package test
public final enum class AnnotatedEnumEntry : kotlin.Enum<test.AnnotatedEnumEntry!> {
@test.AnnotatedEnumEntry.Anno(value = "a") enum entry E1
@test.AnnotatedEnumEntry.Anno(value = "b") @test.AnnotatedEnumEntry.Anno2() enum entry E2
@test.AnnotatedEnumEntry.Anno(value = "b") @test.AnnotatedEnumEntry.Anno2 enum entry E2
enum entry E3
@@ -7,7 +7,7 @@ public open class AnnotationRetentions {
public constructor BaseAnnotation()
}
@test.AnnotationRetentions.BaseAnnotation() public/*package*/ open inner class BaseClass {
@test.AnnotationRetentions.BaseAnnotation public/*package*/ open inner class BaseClass {
public/*package*/ constructor BaseClass()
}
@@ -15,7 +15,7 @@ public open class AnnotationRetentions {
public constructor BinaryAnnotation()
}
@test.AnnotationRetentions.BinaryAnnotation() public/*package*/ open inner class BinaryClass {
@test.AnnotationRetentions.BinaryAnnotation public/*package*/ open inner class BinaryClass {
public/*package*/ constructor BinaryClass()
}
@@ -23,7 +23,7 @@ public open class AnnotationRetentions {
public constructor RuntimeAnnotation()
}
@test.AnnotationRetentions.RuntimeAnnotation() public/*package*/ open inner class RuntimeClass {
@test.AnnotationRetentions.RuntimeAnnotation public/*package*/ open inner class RuntimeClass {
public/*package*/ constructor RuntimeClass()
}
@@ -9,6 +9,6 @@ public interface InheritNullability {
public interface Super {
public abstract fun dummy(): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.NotNull() p0: kotlin.String): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.NotNull p0: kotlin.String): kotlin.Unit
}
}
@@ -4,7 +4,7 @@ public interface Kt3302 {
public interface BSONObject {
public abstract fun dummy(): kotlin.Unit
public abstract fun put(/*0*/ @org.jetbrains.annotations.NotNull() p0: kotlin.String, /*1*/ @org.jetbrains.annotations.NotNull() p1: kotlin.Any): kotlin.Any!
public abstract fun put(/*0*/ @org.jetbrains.annotations.NotNull p0: kotlin.String, /*1*/ @org.jetbrains.annotations.NotNull p1: kotlin.Any): kotlin.Any!
}
public interface BasicBSONObject : test.Kt3302.LinkedHashMap<kotlin.String!, kotlin.Any!>, test.Kt3302.BSONObject {
@@ -9,6 +9,6 @@ public interface NotNullToNullable {
public interface Super {
public abstract fun dummy(): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.NotNull() p0: kotlin.String): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.NotNull p0: kotlin.String): kotlin.Unit
}
}
@@ -4,7 +4,7 @@ public interface NullableToNotNull {
public interface Sub : test.NullableToNotNull.Super {
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
public abstract override /*1*/ fun foo(/*0*/ @org.jetbrains.annotations.NotNull() p0: kotlin.String): kotlin.Unit
public abstract override /*1*/ fun foo(/*0*/ @org.jetbrains.annotations.NotNull p0: kotlin.String): kotlin.Unit
}
public interface Super {
@@ -9,7 +9,7 @@ public interface SubclassFromGenericAndNot {
public interface NonGeneric {
public abstract fun dummy(): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.NotNull() p0: kotlin.String): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.NotNull p0: kotlin.String): kotlin.Unit
}
public interface Sub : test.SubclassFromGenericAndNot.NonGeneric, test.SubclassFromGenericAndNot.Generic<kotlin.String!> {
@@ -4,7 +4,7 @@ public interface AddNotNullJavaSubtype {
public interface Sub : test.AddNotNullJavaSubtype.Super {
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract override /*1*/ fun foo(): kotlin.String
@org.jetbrains.annotations.NotNull public abstract override /*1*/ fun foo(): kotlin.String
}
public interface Super {
@@ -4,7 +4,7 @@ public interface AddNotNullSameJavaType {
public interface Sub : test.AddNotNullSameJavaType.Super {
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract override /*1*/ fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract override /*1*/ fun foo(): kotlin.CharSequence
}
public interface Super {
@@ -9,6 +9,6 @@ public interface AddNullabilityJavaSubtype {
public interface Super {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract fun foo(): kotlin.CharSequence
}
}
@@ -9,6 +9,6 @@ public interface AddNullabilitySameJavaType {
public interface Super {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract fun foo(): kotlin.CharSequence
}
}
@@ -9,6 +9,6 @@ public interface InheritNullabilityJavaSubtype {
public interface Super {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract fun foo(): kotlin.CharSequence
}
}
@@ -9,6 +9,6 @@ public interface InheritNullabilitySameJavaType {
public interface Super {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract fun foo(): kotlin.CharSequence
}
}
@@ -14,6 +14,6 @@ public interface TwoSuperclassesReturnJavaSubtype {
public interface Super2 {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract fun foo(): kotlin.CharSequence
}
}
@@ -14,6 +14,6 @@ public interface TwoSuperclassesReturnSameJavaType {
public interface Super2 {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): kotlin.CharSequence
@org.jetbrains.annotations.NotNull public abstract fun foo(): kotlin.CharSequence
}
}
@@ -9,6 +9,6 @@ public interface TypeParamOfClass {
public interface Super</*0*/ T : kotlin.Any!> {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): T
@org.jetbrains.annotations.NotNull public abstract fun foo(): T
}
}
@@ -9,6 +9,6 @@ public interface TypeParamOfClassSubstituted {
public interface Super</*0*/ T : kotlin.Any!> {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun foo(): T
@org.jetbrains.annotations.NotNull public abstract fun foo(): T
}
}
@@ -9,6 +9,6 @@ public interface TypeParamOfFun {
public interface Super {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull() public abstract fun </*0*/ T : kotlin.Any!> foo(): T
@org.jetbrains.annotations.NotNull public abstract fun </*0*/ T : kotlin.Any!> foo(): T
}
}
@@ -11,7 +11,7 @@ public open class ModalityOfFakeOverrides : java.util.AbstractList<kotlin.String
public open override /*1*/ /*fake_override*/ fun clear(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun contains(/*0*/ element: kotlin.String!): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun containsAll(/*0*/ elements: kotlin.collections.Collection<kotlin.String!>): kotlin.Boolean
@org.jetbrains.annotations.NotNull() public open override /*1*/ fun get(/*0*/ index: kotlin.Int): kotlin.String
@org.jetbrains.annotations.NotNull public open override /*1*/ fun get(/*0*/ index: kotlin.Int): kotlin.String
public open override /*1*/ /*fake_override*/ fun indexOf(/*0*/ element: kotlin.String!): kotlin.Int
public open override /*1*/ /*fake_override*/ fun isEmpty(): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun iterator(): kotlin.collections.MutableIterator<kotlin.String!>
@@ -1,8 +1,8 @@
package test
public interface LoadIterable</*0*/ T : kotlin.Any!> {
@org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T!>!
@org.jetbrains.annotations.ReadOnly() public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T!>!
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable() p0: kotlin.collections.MutableIterable<T!>!): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() p0: kotlin.collections.Iterable<T!>!): kotlin.Unit
@org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T!>!
@org.jetbrains.annotations.ReadOnly public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T!>!
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable p0: kotlin.collections.MutableIterable<T!>!): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly p0: kotlin.collections.Iterable<T!>!): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
public interface LoadIterableWithConflict</*0*/ T : kotlin.Any!> {
@org.jetbrains.annotations.ReadOnly() @org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.(Mutable)Iterable<T!>!
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() @org.jetbrains.annotations.Mutable() p0: kotlin.collections.(Mutable)Iterable<T!>!): kotlin.Unit
@org.jetbrains.annotations.ReadOnly @org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.(Mutable)Iterable<T!>!
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.ReadOnly @org.jetbrains.annotations.Mutable p0: kotlin.collections.(Mutable)Iterable<T!>!): kotlin.Unit
}
@@ -1,8 +1,8 @@
package test
public interface LoadIterableWithNullability</*0*/ T : kotlin.Any!> {
@org.jetbrains.annotations.NotNull() @org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T!>
@org.jetbrains.annotations.NotNull() @org.jetbrains.annotations.ReadOnly() public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T!>
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable() @org.jetbrains.annotations.NotNull() p0: kotlin.collections.MutableIterable<T!>): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() @org.jetbrains.annotations.NotNull() p0: kotlin.collections.Iterable<T!>): kotlin.Unit
@org.jetbrains.annotations.NotNull @org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T!>
@org.jetbrains.annotations.NotNull @org.jetbrains.annotations.ReadOnly public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T!>
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable @org.jetbrains.annotations.NotNull p0: kotlin.collections.MutableIterable<T!>): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly @org.jetbrains.annotations.NotNull p0: kotlin.collections.Iterable<T!>): kotlin.Unit
}
@@ -3,10 +3,10 @@ package test
public interface LoadIterableWithPropagation {
public interface LoadIterable</*0*/ T : kotlin.Any!> {
@org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T!>!
@org.jetbrains.annotations.ReadOnly() public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T!>!
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable() p0: kotlin.collections.MutableIterable<T!>!): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() p0: kotlin.collections.Iterable<T!>!): kotlin.Unit
@org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T!>!
@org.jetbrains.annotations.ReadOnly public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T!>!
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable p0: kotlin.collections.MutableIterable<T!>!): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly p0: kotlin.collections.Iterable<T!>!): kotlin.Unit
}
public open class LoadIterableImpl</*0*/ T : kotlin.Any!> : test.LoadIterableWithPropagation.LoadIterable<T!> {
@@ -2,5 +2,5 @@ package test
public interface ReadOnlyExtendsWildcard {
public abstract fun bar(): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.ReadOnly() p0: kotlin.collections.List<kotlin.CharSequence!>!, /*1*/ @org.jetbrains.annotations.NotNull() p1: kotlin.Comparable<kotlin.String!>): kotlin.Unit
public abstract fun foo(/*0*/ @org.jetbrains.annotations.ReadOnly p0: kotlin.collections.List<kotlin.CharSequence!>!, /*1*/ @org.jetbrains.annotations.NotNull p1: kotlin.Comparable<kotlin.String!>): kotlin.Unit
}
@@ -2,5 +2,5 @@ package test
public open class NotNullField {
public constructor NotNullField()
@org.jetbrains.annotations.NotNull() public final var hi: kotlin.String
@org.jetbrains.annotations.NotNull public final var hi: kotlin.String
}
@@ -2,5 +2,5 @@ package test
public open class NotNullIntArray {
public constructor NotNullIntArray()
@org.jetbrains.annotations.NotNull() public open fun hi(): kotlin.IntArray
@org.jetbrains.annotations.NotNull public open fun hi(): kotlin.IntArray
}
@@ -2,5 +2,5 @@ package test
public open class NotNullMethod {
public constructor NotNullMethod()
@org.jetbrains.annotations.NotNull() public open fun hi(): kotlin.String
@org.jetbrains.annotations.NotNull public open fun hi(): kotlin.String
}
@@ -2,5 +2,5 @@ package test
public open class NotNullObjectArray {
public constructor NotNullObjectArray()
@org.jetbrains.annotations.NotNull() public open fun hi(): kotlin.Array<(out) kotlin.Any!>
@org.jetbrains.annotations.NotNull public open fun hi(): kotlin.Array<(out) kotlin.Any!>
}
@@ -2,5 +2,5 @@ package test
public open class NotNullParameter {
public constructor NotNullParameter()
public open fun hi(/*0*/ @org.jetbrains.annotations.NotNull() p0: kotlin.String): kotlin.Unit
public open fun hi(/*0*/ @org.jetbrains.annotations.NotNull p0: kotlin.String): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
public open class ConstructorWithAnnotations {
public /*synthesized*/ constructor ConstructorWithAnnotations(/*0*/ p0: (() -> kotlin.Unit)!, /*1*/ @org.jetbrains.annotations.NotNull() p1: kotlin.String)
public constructor ConstructorWithAnnotations(/*0*/ p0: java.lang.Runnable!, /*1*/ @org.jetbrains.annotations.NotNull() p1: kotlin.String)
public /*synthesized*/ constructor ConstructorWithAnnotations(/*0*/ p0: (() -> kotlin.Unit)!, /*1*/ @org.jetbrains.annotations.NotNull p1: kotlin.String)
public constructor ConstructorWithAnnotations(/*0*/ p0: java.lang.Runnable!, /*1*/ @org.jetbrains.annotations.NotNull p1: kotlin.String)
}
@@ -1,5 +1,5 @@
package test
@test.AnnotatedAnnotation() public final annotation class AnnotatedAnnotation : kotlin.Annotation {
@test.AnnotatedAnnotation public final annotation class AnnotatedAnnotation : kotlin.Annotation {
/*primary*/ public constructor AnnotatedAnnotation()
}
@@ -9,7 +9,7 @@ public final class Class {
public companion object Companion {
/*primary*/ private constructor Companion()
@field:test.Anno() public final var property: kotlin.Int
@field:test.Anno public final var property: kotlin.Int
public final fun <get-property>(): kotlin.Int
public final fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
}
@@ -6,6 +6,6 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@test.Anno() public final val x: kotlin.Int
@test.Anno public final val x: kotlin.Int
public final fun <get-x>(): kotlin.Int
}
@@ -13,11 +13,11 @@ public final annotation class Bnno : kotlin.Annotation {
}
public final enum class Eee : kotlin.Enum<test.Eee> {
@test.Anno() enum entry Entry1
@test.Anno enum entry Entry1
enum entry Entry2
@test.Anno(value = "3") @test.Bnno() enum entry Entry3
@test.Anno(value = "3") @test.Bnno enum entry Entry3
@test.Anno(value = "4", x = 4) enum entry Entry4
@@ -6,5 +6,5 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@test.Anno() public final fun foo(): kotlin.Unit
@test.Anno public final fun foo(): kotlin.Unit
}
@@ -7,5 +7,5 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
public final val property: kotlin.Int
@test.Anno() public final fun <get-property>(): kotlin.Int
@test.Anno public final fun <get-property>(): kotlin.Int
}
@@ -6,7 +6,7 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@field:test.Anno() public final var property: kotlin.Int
@field:test.Anno public final var property: kotlin.Int
public final fun <get-property>(): kotlin.Int
public final fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
}
@@ -8,5 +8,5 @@ public final class Class {
/*primary*/ public constructor Class()
public final var property: kotlin.Int
public final fun <get-property>(): kotlin.Int
@test.Anno() public final fun <set-property>(/*0*/ value: kotlin.Int): kotlin.Unit
@test.Anno public final fun <set-property>(/*0*/ value: kotlin.Int): kotlin.Unit
}
@@ -20,6 +20,6 @@ public final class A {
}
}
@test.A.Companion.Anno1() @test.A.Companion.B.Anno2() public final class C {
@test.A.Companion.Anno1 @test.A.Companion.B.Anno2 public final class C {
/*primary*/ public constructor C()
}
@@ -10,7 +10,7 @@ public final class Class {
public companion object Companion {
/*primary*/ private constructor Companion()
@test.Anno() public final class Nested {
@test.Anno public final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -7,7 +7,7 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@test.Anno() public companion object Companion {
@test.Anno public companion object Companion {
/*primary*/ private constructor Companion()
}
}
@@ -4,7 +4,7 @@ public final annotation class `$$$$$$` : kotlin.Annotation {
/*primary*/ public constructor `$$$$$$`()
}
@test.`$$$$$$`() public final class A {
@test.`$$$$$$` public final class A {
/*primary*/ public constructor A()
}
@@ -12,6 +12,6 @@ public final annotation class `Anno$tation` : kotlin.Annotation {
/*primary*/ public constructor `Anno$tation`()
}
@test.`Anno$tation`() public final class `Cla$s` {
@test.`Anno$tation` public final class `Cla$s` {
/*primary*/ public constructor `Cla$s`()
}
@@ -12,6 +12,6 @@ public final annotation class A3 : kotlin.Annotation {
/*primary*/ public constructor A3()
}
@test.A1() @test.A2() @test.A3() public final class Class {
@test.A1 @test.A2 @test.A3 public final class Class {
/*primary*/ public constructor Class()
}
@@ -8,7 +8,7 @@ public final class A {
}
}
@test.A.Anno() public final class B {
@test.A.Anno public final class B {
/*primary*/ public constructor B()
@test.A.Anno() public final fun f(): kotlin.Unit
@test.A.Anno public final fun f(): kotlin.Unit
}
@@ -7,11 +7,11 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@test.Anno() public final inner class Inner {
@test.Anno public final inner class Inner {
/*primary*/ public constructor Inner()
}
@test.Anno() public final class Nested {
@test.Anno public final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -4,6 +4,6 @@ public final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
}
@test.Anno() public final class X {
@test.Anno public final class X {
/*primary*/ public constructor X()
}
@@ -1,6 +1,6 @@
package test
@test.Anno() public val x: kotlin.Int
@test.Anno public val x: kotlin.Int
public fun <get-x>(): kotlin.Int
public final annotation class Anno : kotlin.Annotation {
@@ -1,6 +1,6 @@
package test
@test.Anno() public fun function(): kotlin.Unit
@test.Anno public fun function(): kotlin.Unit
public final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
@@ -1,7 +1,7 @@
package test
public val property: kotlin.Int
@test.Anno() public fun <get-property>(): kotlin.Int
@test.Anno public fun <get-property>(): kotlin.Int
public final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
@@ -1,6 +1,6 @@
package test
@field:test.Anno() public var property: kotlin.Int
@field:test.Anno public var property: kotlin.Int
public fun <get-property>(): kotlin.Int
public fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
@@ -2,7 +2,7 @@ package test
public var property: kotlin.Int
public fun <get-property>(): kotlin.Int
@test.Anno() public fun <set-property>(/*0*/ value: kotlin.Int): kotlin.Unit
@test.Anno public fun <set-property>(/*0*/ value: kotlin.Int): kotlin.Unit
public final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
@@ -9,7 +9,7 @@ public final annotation class B : kotlin.Annotation {
}
public final class Class {
/*primary*/ public constructor Class(/*0*/ @test.A() x: kotlin.Int, /*1*/ @test.B() y: kotlin.String)
/*primary*/ public constructor Class(/*0*/ @test.A x: kotlin.Int, /*1*/ @test.B y: kotlin.String)
public final val x: kotlin.Int
public final fun <get-x>(): kotlin.Int
}
@@ -9,7 +9,7 @@ public final annotation class B : kotlin.Annotation {
}
public final enum class E : kotlin.Enum<test.E> {
/*primary*/ private constructor E(/*0*/ @test.A() x: kotlin.String, /*1*/ @test.B() y: kotlin.Int)
/*primary*/ private constructor E(/*0*/ @test.A x: kotlin.String, /*1*/ @test.B y: kotlin.Int)
public final override /*1*/ /*fake_override*/ val name: kotlin.String
public final override /*1*/ /*fake_override*/ fun <get-name>(): kotlin.String
public final override /*1*/ /*fake_override*/ val ordinal: kotlin.Int
@@ -1,6 +1,6 @@
package test
public fun kotlin.Int.foo(/*0*/ @test.A() x: kotlin.Int): kotlin.Unit
public fun kotlin.Int.foo(/*0*/ @test.A x: kotlin.Int): kotlin.Unit
public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
@@ -6,5 +6,5 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
public final fun kotlin.String.foo(/*0*/ @test.Anno() x: kotlin.Int): kotlin.Int
public final fun kotlin.String.foo(/*0*/ @test.Anno x: kotlin.Int): kotlin.Int
}
@@ -8,5 +8,5 @@ public final class Class {
/*primary*/ public constructor Class()
public final var kotlin.Int.foo: kotlin.Int
public final fun kotlin.Int.<get-foo>(): kotlin.Int
public final fun kotlin.Int.<set-foo>(/*0*/ @test.A() value: kotlin.Int): kotlin.Unit
public final fun kotlin.Int.<set-foo>(/*0*/ @test.A value: kotlin.Int): kotlin.Unit
}
@@ -6,5 +6,5 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
public final fun foo(/*0*/ @test.Anno() x: kotlin.String): kotlin.Unit
public final fun foo(/*0*/ @test.Anno x: kotlin.String): kotlin.Unit
}
@@ -5,5 +5,5 @@ public final annotation class Anno : kotlin.Annotation {
}
public interface Trait {
public open fun foo(/*0*/ @test.Anno() x: kotlin.String): kotlin.Int
public open fun foo(/*0*/ @test.Anno x: kotlin.String): kotlin.Int
}
@@ -1,7 +1,7 @@
package test
public fun bar(/*0*/ @test.A() @test.B() @test.C() @test.D() x: kotlin.Int): kotlin.Unit
public fun foo(/*0*/ @test.A() @test.B() x: kotlin.Int, /*1*/ @test.A() @test.C() y: kotlin.Double, /*2*/ @test.B() @test.C() @test.D() z: kotlin.String): kotlin.Unit
public fun bar(/*0*/ @test.A @test.B @test.C @test.D x: kotlin.Int): kotlin.Unit
public fun foo(/*0*/ @test.A @test.B x: kotlin.Int, /*1*/ @test.A @test.C y: kotlin.Double, /*2*/ @test.B @test.C @test.D z: kotlin.String): kotlin.Unit
public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
@@ -8,5 +8,5 @@ public final class Class {
/*primary*/ public constructor Class()
public final var foo: kotlin.Int
public final fun <get-foo>(): kotlin.Int
public final fun <set-foo>(/*0*/ @test.A() value: kotlin.Int): kotlin.Unit
public final fun <set-foo>(/*0*/ @test.A value: kotlin.Int): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
public fun foo(/*0*/ @test.Anno() x: kotlin.Int): kotlin.Unit
public fun foo(/*0*/ @test.Anno x: kotlin.Int): kotlin.Unit
public final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
@@ -2,7 +2,7 @@ package test
public var foo: kotlin.Int
public fun <get-foo>(): kotlin.Int
public fun <set-foo>(/*0*/ @test.A() @test.B() value: kotlin.Int): kotlin.Unit
public fun <set-foo>(/*0*/ @test.A @test.B value: kotlin.Int): kotlin.Unit
public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
@@ -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
}
@@ -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
}
}
@@ -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
}
@@ -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 {
@@ -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
}
}
@@ -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 {
@@ -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
}
@@ -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
}
}
@@ -1,6 +1,6 @@
package test
public fun @test.A() kotlin.String.foo(): kotlin.Unit
public fun @test.A kotlin.String.foo(): kotlin.Unit
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
@@ -6,5 +6,5 @@ package test
public final class SimpleTypeAnnotation {
/*primary*/ public constructor SimpleTypeAnnotation()
public final fun foo(/*0*/ x: @test.A() kotlin.ranges.IntRange): @test.A() kotlin.Int
public final fun foo(/*0*/ x: @test.A kotlin.ranges.IntRange): @test.A kotlin.Int
}
@@ -4,10 +4,10 @@ public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
}
public interface Foo</*0*/ T : @test.A() kotlin.Number> : @test.A() kotlin.CharSequence {
public interface Foo</*0*/ T : @test.A kotlin.Number> : @test.A kotlin.CharSequence {
public abstract override /*1*/ /*fake_override*/ val length: kotlin.Int
public abstract override /*1*/ /*fake_override*/ fun <get-length>(): kotlin.Int
public abstract fun </*0*/ E, /*1*/ F : @test.A() E> bar(): kotlin.Unit
public abstract fun </*0*/ E, /*1*/ F : @test.A E> bar(): kotlin.Unit
public abstract override /*1*/ /*fake_override*/ fun get(/*0*/ index: kotlin.Int): kotlin.Char
public abstract override /*1*/ /*fake_override*/ fun subSequence(/*0*/ startIndex: kotlin.Int, /*1*/ endIndex: kotlin.Int): kotlin.CharSequence
}
@@ -1,6 +1,6 @@
package test
public fun foo(/*0*/ bar: kotlin.collections.Map<@test.A() kotlin.String, kotlin.collections.List<@test.A() kotlin.Int>>): kotlin.Unit
public fun foo(/*0*/ bar: kotlin.collections.Map<@test.A kotlin.String, kotlin.collections.List<@test.A kotlin.Int>>): kotlin.Unit
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
@@ -6,5 +6,5 @@ package test
public final class SimpleTypeParameterAnnotation {
/*primary*/ public constructor SimpleTypeParameterAnnotation()
public final fun </*0*/ @test.A() T> foo(/*0*/ x: T): kotlin.Unit
public final fun </*0*/ @test.A T> foo(/*0*/ x: T): kotlin.Unit
}
@@ -6,7 +6,7 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@delegate:test.Anno() public final val property: kotlin.String
@delegate:test.Anno public final val property: kotlin.String
public final fun <get-property>(): kotlin.String
}
@@ -6,7 +6,7 @@ public final annotation class Anno : kotlin.Annotation {
public final class Class {
/*primary*/ public constructor Class()
@field:test.Anno() public final var property: kotlin.Int
@field:test.Anno public final var property: kotlin.Int
public final fun <get-property>(): kotlin.Int
public final fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
}
@@ -2,12 +2,12 @@ package test
public final class A {
/*primary*/ public constructor A()
public final val @receiver:test.Ann() kotlin.String.myLength2: kotlin.Int
public final fun @receiver:test.Ann() kotlin.String.<get-myLength2>(): kotlin.Int
public final var @receiver:test.Ann() kotlin.String.myLength3: kotlin.Int
public final fun @receiver:test.Ann() kotlin.String.<get-myLength3>(): kotlin.Int
public final fun @receiver:test.Ann() kotlin.String.<set-myLength3>(/*0*/ v: kotlin.Int): kotlin.Unit
public final fun @receiver:test.Ann() kotlin.String.myLength(/*0*/ @test.Ann() q: kotlin.String): kotlin.Int
public final val @receiver:test.Ann kotlin.String.myLength2: kotlin.Int
public final fun @receiver:test.Ann kotlin.String.<get-myLength2>(): kotlin.Int
public final var @receiver:test.Ann kotlin.String.myLength3: kotlin.Int
public final fun @receiver:test.Ann kotlin.String.<get-myLength3>(): kotlin.Int
public final fun @receiver:test.Ann kotlin.String.<set-myLength3>(/*0*/ v: kotlin.Int): kotlin.Unit
public final fun @receiver:test.Ann kotlin.String.myLength(/*0*/ @test.Ann q: kotlin.String): kotlin.Int
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER}) public final annotation class Ann : kotlin.Annotation {
@@ -5,5 +5,5 @@ public final annotation class Ann : kotlin.Annotation {
public final val value: kotlin.String
public final fun <get-value>(): kotlin.String
}
@test.Ann() public typealias A1 = kotlin.String
@test.Ann public typealias A1 = kotlin.String
@test.Ann(value = "OK") public typealias A2 = kotlin.String
@@ -1,8 +1,8 @@
package test
public interface LoadIterable</*0*/ T> {
@org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T>?
@org.jetbrains.annotations.ReadOnly() public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T>?
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable() p0: kotlin.collections.MutableIterable<T>?): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() p0: kotlin.collections.Iterable<T>?): kotlin.Unit
@org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T>?
@org.jetbrains.annotations.ReadOnly public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T>?
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable p0: kotlin.collections.MutableIterable<T>?): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly p0: kotlin.collections.Iterable<T>?): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
public interface LoadIterableWithConflict</*0*/ T> {
@org.jetbrains.annotations.ReadOnly() @org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T>?
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() @org.jetbrains.annotations.Mutable() p0: kotlin.collections.MutableIterable<T>?): kotlin.Unit
@org.jetbrains.annotations.ReadOnly @org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T>?
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.ReadOnly @org.jetbrains.annotations.Mutable p0: kotlin.collections.MutableIterable<T>?): kotlin.Unit
}
@@ -1,8 +1,8 @@
package test
public interface LoadIterableWithNullability</*0*/ T> {
@org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T>
@org.jetbrains.annotations.ReadOnly() public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T>
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable() p0: kotlin.collections.MutableIterable<T>): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() p0: kotlin.collections.Iterable<T>): kotlin.Unit
@org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T>
@org.jetbrains.annotations.ReadOnly public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T>
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable p0: kotlin.collections.MutableIterable<T>): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly p0: kotlin.collections.Iterable<T>): kotlin.Unit
}
@@ -3,10 +3,10 @@ package test
public interface LoadIterableWithPropagation {
public interface LoadIterable</*0*/ T> {
@org.jetbrains.annotations.Mutable() public abstract fun getIterable(): kotlin.collections.MutableIterable<T>?
@org.jetbrains.annotations.ReadOnly() public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T>?
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable() p0: kotlin.collections.MutableIterable<T>?): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly() p0: kotlin.collections.Iterable<T>?): kotlin.Unit
@org.jetbrains.annotations.Mutable public abstract fun getIterable(): kotlin.collections.MutableIterable<T>?
@org.jetbrains.annotations.ReadOnly public abstract fun getReadOnlyIterable(): kotlin.collections.Iterable<T>?
public abstract fun setIterable(/*0*/ @org.jetbrains.annotations.Mutable p0: kotlin.collections.MutableIterable<T>?): kotlin.Unit
public abstract fun setReadOnlyIterable(/*0*/ @org.jetbrains.annotations.ReadOnly p0: kotlin.collections.Iterable<T>?): kotlin.Unit
}
public open class LoadIterableImpl</*0*/ T> : test.LoadIterableWithPropagation.LoadIterable<T> {
@@ -8,7 +8,7 @@ public open class Impl : test.Trait {
public open class Subclass : test.Impl {
public constructor Subclass()
@java.lang.Override() public open override /*1*/ fun bar(): kotlin.String
@java.lang.Override public open override /*1*/ fun bar(): kotlin.String
public open override /*1*/ /*fake_override*/ fun foo(): kotlin.String
}