public class NativeJavaMethod
extends org.mozilla.javascript.BaseFunction
NativeJavaArray
,
NativeJavaPackage
,
NativeJavaClass
,
序列化表格CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
构造器和说明 |
---|
NativeJavaMethod(java.lang.reflect.Method method,
java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
call(Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args) |
java.lang.String |
getFunctionName() |
java.lang.String |
toString() |
construct, createObject, execIdCall, getArity, getClassName, getLength, getTypeOf, hasInstance, setImmunePrototypeProperty
activatePrototypeMap, defineOwnProperty, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributes
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, has, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public NativeJavaMethod(java.lang.reflect.Method method, java.lang.String name)
public java.lang.String getFunctionName()
getFunctionName
在类中 org.mozilla.javascript.BaseFunction
public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.Object call(Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
call
在接口中 org.mozilla.javascript.Callable
call
在接口中 org.mozilla.javascript.Function
call
在类中 org.mozilla.javascript.BaseFunction