Cleanup 191 extension files (KTI-240)
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
// 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(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities<br>public open fun convertPoint(source: Component!, x: Int, y: Int, destination: 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(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities<br>public open fun convertPoint(source: Component!, x: Int, y: Int, destination: 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
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
// 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(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities<br>public open fun convertPoint(source: Component!, x: Int, y: Int, destination: 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(source: Component!, aPoint: Point!, destination: Component!): Point! defined in javax.swing.SwingUtilities<br>public open fun convertPoint(source: Component!, x: Int, y: Int, destination: Component!): Point! defined in javax.swing.SwingUtilities
|
||||
// ERROR: Unresolved reference: unresolved
|
||||
|
||||
import javax.swing.SwingUtilities
|
||||
import javax.swing.SwingUtilities.*
|
||||
|
||||
fun foo() {
|
||||
<caret>convertPoint()
|
||||
|
||||
val bottom = BOTTOM
|
||||
|
||||
convertPoint()
|
||||
|
||||
SwingUtilities.unresolved
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
lateinit var x: java.lang.Readable
|
||||
|
||||
val file = x.read(<caret>)
|
||||
|
||||
/*
|
||||
Text: (<highlight>CharBuffer!</highlight>), Disabled: false, Strikeout: false, Green: true
|
||||
*/
|
||||
@@ -1,5 +0,0 @@
|
||||
// "Add constructor parameters from DataInputStream(InputStream!)" "true"
|
||||
import java.io.DataInputStream
|
||||
import java.io.InputStream
|
||||
|
||||
class C(`in`: InputStream?) : DataInputStream(`in`)
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
// "Add constructor parameters from ArrayList((MutableCollection<out String!>..Collection<String!>?))" "true"
|
||||
// ACTION: Add constructor parameters from ArrayList(Int)
|
||||
import java.util.ArrayList
|
||||
|
||||
class C(c: MutableCollection<out String>?) : ArrayList<String>(c)
|
||||
@@ -1,12 +0,0 @@
|
||||
// "Surround with lambda" "false"
|
||||
// ERROR: Type mismatch: inferred type is Object but () -> String was expected
|
||||
// ACTION: Annotate constructor 'Object'...
|
||||
// ACTION: Change parameter 'block' type of function 'str' to 'Object'
|
||||
// ACTION: Create function 'str'
|
||||
// ACTION: Edit method contract of 'Object'
|
||||
// ACTION: Introduce import alias
|
||||
fun fn() {
|
||||
str(<caret>Object())
|
||||
}
|
||||
|
||||
fun str(block: () -> String) {}
|
||||
Reference in New Issue
Block a user