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, setImmunePrototypePropertyactivatePrototypeMap, defineOwnProperty, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributesassociateValue, 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, sizepublic NativeJavaMethod(java.lang.reflect.Method method,
java.lang.String name)
public java.lang.String getFunctionName()
getFunctionName 在类中 org.mozilla.javascript.BaseFunctionpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic java.lang.Object call(Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
call 在接口中 org.mozilla.javascript.Callablecall 在接口中 org.mozilla.javascript.Functioncall 在类中 org.mozilla.javascript.BaseFunction