6992a707dc
To create a smart psi type pointer, IJ Platform uses resolve We cannot use resolve from JavaSymbolProvider, as it may lead to resolve contract violation ^KT-59240 Fixed
29 lines
618 B
Kotlin
Vendored
29 lines
618 B
Kotlin
Vendored
// FILE: useSite.kt
|
|
|
|
import InspectionProfileImpl.INIT_INSPECTIONS
|
|
|
|
fun foo(): Int = 4
|
|
|
|
// FILE: InspectionProfileImpl.java
|
|
import static Configuration.StaticConfigurationClass
|
|
|
|
public class InspectionProfileImpl extends InspectionProfile<StaticConfigurationClass> {
|
|
public static boolean INIT_INSPECTIONS;
|
|
}
|
|
|
|
// FILE: InspectionProfile.java
|
|
public class InspectionProfile <T> {
|
|
}
|
|
|
|
// FILE: Configuration.java
|
|
public class Configuration implements KotlinInterface {
|
|
public static class StaticConfigurationClass {
|
|
|
|
}
|
|
}
|
|
|
|
// FILE: KotlinInterface.kt
|
|
interface KotlinInterface {
|
|
var selectedOptions: Int
|
|
}
|