public class FunctionCallHandle extends Object
| 构造器和说明 |
|---|
FunctionCallHandle() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CallSite |
bootstrap(MethodHandles.Lookup caller,
String name,
MethodType type,
int flag) |
static Object |
call_async(MagicScriptLambdaFunction function,
Variables variables,
Object... args) |
static Object |
fallback(MethodCallSite callSite,
Object[] args) |
static Object |
invoke_function(RuntimeContext runtimeContext,
String name,
boolean hasSpread,
Object[] args,
Object target) |
static Object |
invoke_method(RuntimeContext runtimeContext,
String name,
boolean hasSpread,
boolean optional,
Object[] args,
Object target) |
static Object |
invoke_new_instance(RuntimeContext runtimeContext,
Object target,
Object[] args) |
static Object |
member_access(RuntimeContext runtimeContext,
Object target,
String name,
boolean optional,
boolean inLinq) |
static Object |
newArrayList(boolean hasSpread,
Object[] args) |
static Iterator<?> |
newKeyValueIterator(Object target) |
static Object |
newLinkedHashMap(Boolean hasSpread,
Object[] args) |
static Iterator<?> |
newValueIterator(Object target) |
static Object |
set_variable_value(RuntimeContext runtimeContext,
Object target,
Object name,
Object value) |
static Object |
spread(List<Object> source,
List<Object> target) |
static Object |
spread(Map<Object,Object> source,
Map<Object,Object> target) |
static Object |
type_cast(Object object,
String target,
Object... args) |
public static CallSite bootstrap(MethodHandles.Lookup caller, String name, MethodType type, int flag)
public static Object fallback(MethodCallSite callSite, Object[] args) throws Throwable
Throwablepublic static Object invoke_function(RuntimeContext runtimeContext, String name, boolean hasSpread, Object[] args, Object target) throws Throwable
Throwablepublic static Object invoke_method(RuntimeContext runtimeContext, String name, boolean hasSpread, boolean optional, Object[] args, Object target) throws Throwable
Throwablepublic static Object member_access(RuntimeContext runtimeContext, Object target, String name, boolean optional, boolean inLinq)
public static Object call_async(MagicScriptLambdaFunction function, Variables variables, Object... args)
public static Object invoke_new_instance(RuntimeContext runtimeContext, Object target, Object[] args) throws Throwable
Throwablepublic static Object set_variable_value(RuntimeContext runtimeContext, Object target, Object name, Object value) throws Throwable
ThrowableCopyright © 2020–2022. All rights reserved.