Hiding getters and setters from completion
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import java.io.File
|
||||
|
||||
fun File.foo(absolutePath: String) {
|
||||
<caret>
|
||||
}
|
||||
|
||||
// EXIST_JAVA_ONLY: getAbsolutePath
|
||||
// ABSENT: { itemText: "absolutePath", tailText: " for File" }
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun foo(thread: Thread) {
|
||||
thread.get<caret>
|
||||
}
|
||||
|
||||
// EXIST_JAVA_ONLY: getPriority
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fun foo(thread: Thread) {
|
||||
thread.<caret>
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// EXIST_JAVA_ONLY: { lookupString: "priority", itemText: "priority", tailText: " for Thread", typeText: "Int" }
|
||||
// EXIST_JAVA_ONLY: getPriority
|
||||
// EXIST_JAVA_ONLY: setPriority
|
||||
@@ -5,3 +5,4 @@ fun foo(file: File) {
|
||||
}
|
||||
|
||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " for File", typeText: "String!" }
|
||||
// ABSENT: getAbsolutePath
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
import java.io.File
|
||||
|
||||
fun File.foo() {
|
||||
fun Thread.foo() {
|
||||
<caret>
|
||||
}
|
||||
|
||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " for File", typeText: "String!" }
|
||||
// EXIST_JAVA_ONLY: { lookupString: "priority", itemText: "priority", tailText: " for Thread", typeText: "Int" }
|
||||
// ABSENT: getPriority
|
||||
// ABSENT: setPriority
|
||||
|
||||
+1
@@ -5,3 +5,4 @@ fun foo(file: File?) {
|
||||
}
|
||||
|
||||
// EXIST_JAVA_ONLY: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " for File", typeText: "String!" }
|
||||
// ABSENT: getAbsolutePath
|
||||
|
||||
Reference in New Issue
Block a user