I have this top level function definition in a fil...
# getting-started
m
I have this top level function definition in a file called CacheUtil
Copy code
inline fun <reified T> T.cacheOneHour(key: String): T {
    return cache(key, 60 * 60)
}
And I can call it just fine from within Kotlin, but when I try to interop with Java it complains that
cacheOneHour()
has private access. Adding a public access modifier doesn't seem to change anything either ­čśĽ