Moved method getSmartCastVariantsWithLessSpecificExcluded() into IDE
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class X {
|
||||
void f(){}
|
||||
}
|
||||
|
||||
class JavaClass {
|
||||
public void setFoo(X value) {
|
||||
}
|
||||
public X getFoo() {
|
||||
return new X();
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
class JavaClass {
|
||||
public void setFoo(String value) {
|
||||
}
|
||||
public String getFoo() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
inline fun <T> T.apply(block: T.() -> Unit): T { block(); return this }
|
||||
|
||||
val v = JavaClass().apply {
|
||||
foo = ""
|
||||
foo = X()
|
||||
foo.<caret>
|
||||
}
|
||||
|
||||
// EXIST: length
|
||||
// EXIST: substring
|
||||
// EXIST: f
|
||||
|
||||
Reference in New Issue
Block a user