webit.script.core.ast.method.AsmNativeMethodDeclare Maven / Gradle / Ivy
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.core.ast.method;
import webit.script.Context;
import webit.script.asm.AsmMethodCaller;
/**
*
* @author Zqq
*/
public class AsmNativeMethodDeclare implements MethodDeclare {
private final AsmMethodCaller caller;
public AsmNativeMethodDeclare(AsmMethodCaller caller) {
this.caller = caller;
}
public Object invoke(final Context context, final Object[] args) {
return caller.execute(args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy