I can access the static fields of this class but the static methods complain. Dependency missing? I don't understand why it should be difficult to just pick up and code.
fun main(){
println(android.icu.lang.UScript.getName(2))
}
Exception in thread "main" java.lang.RuntimeException: Stub!
https://developer.android.com/reference/android/icu/lang/UScript
Android Studio seems to me to have the SDK sources installed per the top hit here.
The decompiled .class file the stack trace links to looks like:
public static String getName(int scriptCode) {
throw new RuntimeException("Stub!");
}