invoke

private fun invoke(target: Any, owner: Class<*>, ownerMojmap: String, methodMojmap: String, arg: String): Boolean

Resolved on owner, not target.javaClass: getMethod on a non-public runtime class hands back a Method whose invoke() throws IllegalAccessException even for a method declared public on a public supertype. Invocation still targets target, so an override dispatches normally.