public class ClassMethodFunction extends AbstractVariadicFunction
metadata
Constructor and Description |
---|
ClassMethodFunction(Class<?> clazz,
boolean isStatic,
String name,
String methodName,
List<Method> methods) |
Modifier and Type | Method and 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, run
add, bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, div, exponent, getElement, getMetadata, isNull, match, meta, mod, mult, neg, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, sub, toString, unsignedShiftRight, withMeta, withoutMeta
public ClassMethodFunction(Class<?> clazz, boolean isStatic, String name, String methodName, List<Method> methods) throws IllegalAccessException, NoSuchMethodException
public String getName()
AviatorFunction
public AviatorObject variadicCall(Map<String,Object> env, AviatorObject... args)
AbstractVariadicFunction
variadicCall
in class AbstractVariadicFunction
Copyright © 2010–2021. All rights reserved.