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

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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!> {

View File

@@ -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
}