升级rhino到1.7.14

This commit is contained in:
Antecer
2024-05-02 11:11:47 +08:00
parent 5cd0adabc3
commit b7b97665f2
31 changed files with 3 additions and 4 deletions
@@ -0,0 +1,16 @@
/*
* Decompiled with CFR 0.152.
*/
package com.script
interface Invocable {
fun <T> getInterface(clazz: Class<T>): T?
fun <T> getInterface(obj: Any?, paramClass: Class<T>): T?
@Throws(ScriptException::class, NoSuchMethodException::class)
fun invokeFunction(name: String, vararg args: Any): Any?
@Throws(ScriptException::class, NoSuchMethodException::class)
fun invokeMethod(obj: Any?, name: String, vararg args: Any): Any?
}