Presentation for extension property to include receiver type
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
public class Class {
|
||||
}
|
||||
|
||||
// REF: (k.KAnno).d
|
||||
// REF: (in k.KAnno).d
|
||||
|
||||
@@ -4,4 +4,4 @@ public class AutoGeneratedOverloads {
|
||||
}
|
||||
}
|
||||
|
||||
// REF: (in k).withJvmOverloads(Int,Boolean,String)
|
||||
// REF: (k).withJvmOverloads(Int, Boolean, String)
|
||||
|
||||
@@ -6,4 +6,4 @@ public class ClassObjectField {
|
||||
}
|
||||
}
|
||||
|
||||
// REF: (k.StaticFieldInClassObjectInTrait.Companion).XX
|
||||
// REF: (in k.StaticFieldInClassObjectInTrait.Companion).XX
|
||||
+1
-1
@@ -4,4 +4,4 @@ public class EnumEntry {
|
||||
}
|
||||
}
|
||||
|
||||
// REF: (k.EnumClass).ENTRY
|
||||
// REF: (in k.EnumClass).ENTRY
|
||||
|
||||
+1
-1
@@ -4,4 +4,4 @@ public class Getter {
|
||||
}
|
||||
}
|
||||
|
||||
// REF: (k.Class).prop
|
||||
// REF: (in k.Class).prop
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@ val tl = <caret>topLevel()
|
||||
// CONTEXT: return <ref-caret>local()
|
||||
// WITH_LIBRARY: /resolve/referenceInLib/inLibrarySource
|
||||
|
||||
// REF: .local()
|
||||
// REF: local()
|
||||
+2
-2
@@ -9,5 +9,5 @@ class B {
|
||||
}
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (for T in dependency).getValue(R,kotlin.reflect.KProperty<*>)
|
||||
// REF: (for T in dependency).setValue(R,kotlin.reflect.KProperty<*>,kotlin.Int)
|
||||
// REF: (for T in dependency).getValue(R, kotlin.reflect.KProperty<*>)
|
||||
// REF: (for T in dependency).setValue(R, kotlin.reflect.KProperty<*>, kotlin.Int)
|
||||
|
||||
@@ -4,4 +4,4 @@ import dependency.*
|
||||
|
||||
val a: Outer.<caret>Inner? = null
|
||||
|
||||
// REF: (dependency.Outer).Inner
|
||||
// REF: (in dependency.Outer).Inner
|
||||
@@ -4,4 +4,4 @@ import dependency.*
|
||||
|
||||
val a: Outer.<caret>Nested? = null
|
||||
|
||||
// REF: (dependency.Outer).Nested
|
||||
// REF: (in dependency.Outer).Nested
|
||||
@@ -6,4 +6,4 @@ fun foo(a: List<Int>) {
|
||||
a[<caret>"bar"] = 3
|
||||
}
|
||||
|
||||
// REF: (for kotlin.List<T> in dependency).set(kotlin.String,T)
|
||||
// REF: (for kotlin.List<T> in dependency).set(kotlin.String, T)
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
package foo
|
||||
|
||||
// REF: (in kotlin.Deprecated).Deprecated(kotlin.String,kotlin.ReplaceWith,kotlin.DeprecationLevel)
|
||||
// REF: (in kotlin.Deprecated).Deprecated(kotlin.String, kotlin.ReplaceWith, kotlin.DeprecationLevel)
|
||||
|
||||
@@ -4,4 +4,4 @@ package foo
|
||||
|
||||
import kotlin.Deprecated as D
|
||||
|
||||
// REF: (in kotlin.Deprecated).Deprecated(kotlin.String,kotlin.ReplaceWith,kotlin.DeprecationLevel)
|
||||
// REF: (in kotlin.Deprecated).Deprecated(kotlin.String, kotlin.ReplaceWith, kotlin.DeprecationLevel)
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ class Foo
|
||||
|
||||
fun Foo.getValue(_this: Any?, p: Any?): Int = 1
|
||||
|
||||
// REF: (for Foo in <root>).getValue(Any?,Any?)
|
||||
// REF: (for Foo in <root>).getValue(Any?, Any?)
|
||||
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ class Foo {
|
||||
fun getValue(_this: Any?, p: Any?): Int = 1
|
||||
}
|
||||
|
||||
// REF: (in Foo).getValue(Any?,Any?)
|
||||
// REF: (in Foo).getValue(Any?, Any?)
|
||||
|
||||
|
||||
Vendored
+3
-3
@@ -15,6 +15,6 @@ interface Zoo {
|
||||
class Baz: Foo, Bar, Zoo
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (in Bar).getValue(Any?,Any?)
|
||||
// REF: (in Foo).getValue(Any?,Any?)
|
||||
// REF: (in Zoo).setValue(Any?,Any?,Any?)
|
||||
// REF: (in Bar).getValue(Any?, Any?)
|
||||
// REF: (in Foo).getValue(Any?, Any?)
|
||||
// REF: (in Zoo).setValue(Any?, Any?, Any?)
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ interface Foo {
|
||||
|
||||
class Baz: Foo
|
||||
|
||||
// REF: (in Foo).getValue(Any?,Any?)
|
||||
// REF: (in Foo).getValue(Any?, Any?)
|
||||
+2
-2
@@ -7,7 +7,7 @@ fun Foo.setValue(_this: Any?, p: Any?, val: Any?) {}
|
||||
fun Foo.propertyDelegated(p: Any?) {}
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (for Foo in <root>).getValue(Any?,Any?)
|
||||
// REF: (for Foo in <root>).setValue(Any?,Any?,Any?)
|
||||
// REF: (for Foo in <root>).getValue(Any?, Any?)
|
||||
// REF: (for Foo in <root>).setValue(Any?, Any?, Any?)
|
||||
// REF: (for Foo in <root>).propertyDelegated(Any?)
|
||||
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@ class Foo {
|
||||
}
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (in Foo).getValue(Any?,Any?)
|
||||
// REF: (in Foo).setValue(Any?,Any?,Any?)
|
||||
// REF: (in Foo).getValue(Any?, Any?)
|
||||
// REF: (in Foo).setValue(Any?, Any?, Any?)
|
||||
// REF: (in Foo).propertyDelegated(Any?)
|
||||
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
val x: Int <caret>by lazy {1}
|
||||
|
||||
// REF: (for kotlin.Lazy<T> in kotlin).getValue(kotlin.Any?,kotlin.reflect.KProperty<*>)
|
||||
// REF: (for kotlin.Lazy<T> in kotlin).getValue(kotlin.Any?, kotlin.reflect.KProperty<*>)
|
||||
|
||||
+2
-2
@@ -3,5 +3,5 @@ import kotlin.properties.Delegates
|
||||
var x: Int <caret>by Delegates.notNull()
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).getValue(R,kotlin.reflect.KProperty<*>)
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).setValue(R,kotlin.reflect.KProperty<*>,T)
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).getValue(R, kotlin.reflect.KProperty<*>)
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).setValue(R, kotlin.reflect.KProperty<*>, T)
|
||||
|
||||
Reference in New Issue
Block a user