FIR IDE: add Java synthetic properties support for completion
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// FIR_COMPARISON
|
||||
|
||||
fun foo(a: java.lang.Thread) {
|
||||
a.na<caret>
|
||||
}
|
||||
|
||||
|
||||
// EXIST: {"lookupString":"name","tailText":" (from getName()/setName())","allLookupStrings":"getName, name, setName","itemText":"name"}
|
||||
@@ -1,3 +1,5 @@
|
||||
// FIR_COMPARISON
|
||||
|
||||
import java.io.File
|
||||
|
||||
fun foo(file: File) {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// FIR_COMPARISON
|
||||
|
||||
import java.io.File
|
||||
|
||||
fun foo(file: File) {
|
||||
|
||||
+5
@@ -2950,6 +2950,11 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
||||
runTest("idea/idea-completion/testData/basic/java/JavaPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaSyntheticProperty.kt")
|
||||
public void testJavaSyntheticProperty() throws Exception {
|
||||
runTest("idea/idea-completion/testData/basic/java/JavaSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KProperty.kt")
|
||||
public void testKProperty() throws Exception {
|
||||
runTest("idea/idea-completion/testData/basic/java/KProperty.kt");
|
||||
|
||||
Reference in New Issue
Block a user