// MODULE: lib // FILE: test/J.java package test; class Foo { public static String getValue(K key) { return null; } } public class Bar extends Foo {} // MODULE: main(lib) // FILE: k.kt import test.Bar fun test() { Bar.getValue("bar") }