AviatorFunction, Serializable, Runnable, Callable<AviatorObject>public class ClassMethodFunction extends AbstractVariadicFunction
| Constructor | Description |
|---|---|
ClassMethodFunction(Class<?> clazz,
boolean isStatic,
String name,
String methodName,
List<Method> methods) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getName() |
Get the function name
|
AviatorObject |
variadicCall(Map<String,Object> env,
AviatorObject... args) |
Call with variadic arguments.The subclass must implement this method.
|
call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, desc, getAviatorType, getValue, innerCompare, runadd, bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, div, exponent, getElement, isNull, match, mod, mult, neg, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, sub, toString, unsignedShiftRightpublic ClassMethodFunction(Class<?> clazz, boolean isStatic, String name, String methodName, List<Method> methods) throws IllegalAccessException, NoSuchMethodException
public String getName()
AviatorFunctionpublic AviatorObject variadicCall(Map<String,Object> env, AviatorObject... args)
AbstractVariadicFunctionvariadicCall in class AbstractVariadicFunctionCopyright © 2022–2023. All rights reserved.