org.persvr.data
Class Method
java.lang.Object
BaseFunction
org.persvr.data.Method
public class Method
- extends BaseFunction
|
Constructor Summary |
Method(BaseFunction innerFunction,
java.lang.String methodName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method
public Method(BaseFunction innerFunction,
java.lang.String methodName)
call
public java.lang.Object call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args)
toString
public java.lang.String toString()
setName
public void setName(java.lang.String name)
getArity
public int getArity()
getClassName
public java.lang.String getClassName()
getFunctionName
public java.lang.String getFunctionName()
getDefaultValue
public java.lang.Object getDefaultValue(java.lang.Class typeHint)