mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
DescriptorRenderer to render annotations for all types + separate option to render annotation arguments + use it in IdeDescriptorRenderers
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user