blob: 89c930bba380bf502ebcd835b6cb17f75bf47527 [file] [log] [blame]
// FILE: bar/Foo.before.java
// "Import static method..." "true"
// ERROR: Unresolved reference: getValue
// ACTION: Create method 'foobar'
// WITH_RUNTIME
package bar;
public class Foo {
public void main()
{
getValue<caret>();
}
}
// FILE: foo/Bar.dependency.kt
package foo
object Bar {
@JvmStatic val value = "foobar";
}
// FILE: bar/Foo.after.java
// "Import static method..." "true"
// ERROR: Unresolved reference: getValue
// ACTION: Create method 'foobar'
// WITH_RUNTIME
package bar;
import static foo.Bar.getValue;
public class Foo {
public void main()
{
getValue<caret>();
}
}