e915e1548c
Use the same component (NotFoundClasses) as in loading of compiled Kotlin symbols. Some tests were changed to avoid a diagnostic that is now reported when a non-found class is encountered in a signature (e.g. staticMethod.1.java where JDK seems to be not configured) #KT-10493 Fixed #KT-10820 Fixed #KT-11368 Fixed
18 lines
998 B
Kotlin
Vendored
18 lines
998 B
Kotlin
Vendored
// INTENTION_TEXT: "Import members from 'javax.swing.SwingUtilities'"
|
|
// WITH_RUNTIME
|
|
// ERROR: None of the following functions can be called with the arguments supplied: <br>public open fun convertPoint(p0: Component!, p1: Point!, p2: Component!): Point! defined in javax.swing.SwingUtilities<br>public open fun convertPoint(p0: Component!, p1: Int, p2: Int, p3: Component!): Point! defined in javax.swing.SwingUtilities
|
|
// ERROR: None of the following functions can be called with the arguments supplied: <br>public open fun convertPoint(p0: Component!, p1: Point!, p2: Component!): Point! defined in javax.swing.SwingUtilities<br>public open fun convertPoint(p0: Component!, p1: Int, p2: Int, p3: Component!): Point! defined in javax.swing.SwingUtilities
|
|
// ERROR: Unresolved reference: unresolved
|
|
|
|
import javax.swing.SwingUtilities
|
|
|
|
fun foo() {
|
|
<caret>SwingUtilities.convertPoint()
|
|
|
|
val bottom = SwingUtilities.BOTTOM
|
|
|
|
SwingUtilities.convertPoint()
|
|
|
|
SwingUtilities.unresolved
|
|
}
|