Support new double colon expressions in IDE code
This commit is contained in:
+1
-1
@@ -10,6 +10,7 @@
|
||||
[LibraryClassUsages.1.java] Usage in extends/implements clause 5 class J extends A {
|
||||
[library.kt] Nested class/object 63 val t = A.T(1)
|
||||
[library.kt] Nested class/object 64 val tt = A.T()
|
||||
[library.kt] Nested class/object 66 val fff = A.T::bar
|
||||
[library.kt] New instance creation 57 val a = A(1)
|
||||
[library.kt] New instance creation 58 val aa = A()
|
||||
[library.kt] Supertype 19 class B: A {
|
||||
@@ -21,4 +22,3 @@
|
||||
[library.kt] Supertype 39 class CC(): A() {
|
||||
[library.kt] Supertype 40 class VV(): A.T()
|
||||
[library.kt] Unclassified usage 61 val ff = A::foo
|
||||
[library.kt] Unclassified usage 66 val fff = A.T::bar
|
||||
|
||||
+2
-1
@@ -7,4 +7,5 @@ fun foo() {
|
||||
val v1 = <caret>myJavaClass<List<*>>()
|
||||
val v2 = myJavaClass<List<String>>()
|
||||
val v3 = myJavaClass<Array<String>>()
|
||||
}
|
||||
val v4 = myJavaClass<java.util.Random>()
|
||||
}
|
||||
|
||||
+4
-1
@@ -1,3 +1,5 @@
|
||||
import java.util.Random
|
||||
|
||||
// "Replace usages of 'myJavaClass(): Class<T>' in whole project" "true"
|
||||
|
||||
@Deprecated("", ReplaceWith("T::class.java"))
|
||||
@@ -7,4 +9,5 @@ fun foo() {
|
||||
val v1 = List::class.java
|
||||
val v2 = List::class.java
|
||||
val v3 = Array<String>::class.java
|
||||
}
|
||||
val v4 = Random::class.java
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user