blob: b2e056be03aebf547779325f40019867f9780d86 [file] [log] [blame]
// FILE: bar/Foo.before.java
// "/(Static import|Import static) method 'foo.Bar.getValue'/" "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 {
companion object {
val value = "foobar"
@JvmStatic get() {
}
}
}
// FILE: bar/Foo.after.java
// "/(Static import|Import static) method 'foo.Bar.getValue'/" "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>();
}
}