|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.env.Value
com.caucho.quercus.env.Callback
com.caucho.quercus.function.AbstractFunction
com.caucho.quercus.env.AbstractJavaMethod
com.caucho.quercus.env.JavaOverloadMethod
public class JavaOverloadMethod
Represents the introspected static function information.
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.function.AbstractFunction |
|---|
_bindingClass, _declaringClassName, _isClosure, _isConstructor, _isFinal, _isStatic, _parseIndex, _visibility |
| Fields inherited from class com.caucho.quercus.env.Value |
|---|
NULL_VALUE_ARRAY, SCALAR_V |
| Constructor Summary | |
|---|---|
JavaOverloadMethod(AbstractJavaMethod fun)
|
|
| Method Summary | |
|---|---|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value[] args)
Evaluates the function. |
AbstractFunction |
getActualFunction(Expr[] args)
Returns the actual function |
boolean |
getHasRestArgs()
Returns true if the function can take in unlimited number of args. |
int |
getMarshalingCost(Expr[] args)
Returns the cost of marshaling for this method given the args. |
int |
getMarshalingCost(Value[] args)
Returns the cost of marshaling for this method given the args. |
int |
getMaxArgLength()
Returns the maximum number of arguments allowed. |
int |
getMinArgLength()
Returns the minimally required number of arguments. |
java.lang.String |
getName()
|
AbstractJavaMethod |
overload(AbstractJavaMethod fun)
Returns an overloaded java method. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.quercus.env.AbstractJavaMethod |
|---|
call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, getJavaDeclaringClass, getJavaParameterTypes |
| Methods inherited from class com.caucho.quercus.function.AbstractFunction |
|---|
callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, errorPrivateAccess, errorProtectedAccess, evalArguments, getArgs, getBindingClass, getBindingClassName, getCallbackName, getComment, getCompilationName, getDeclaringClass, getDeclaringClassName, getLocation, getType, isAbstract, isBoolean, isCallUsesSymbolTable, isCallUsesVariableArgs, isClosure, isConstructor, isDouble, isFinal, isGlobal, isInternal, isLong, isObject, isPrivate, isProtected, isPublic, isReturnsReference, isStatic, isString, isValid, setBindingClass, setClosure, setConstructor, setDeclaringClassName, setFinal, setGlobal, setParseIndex, setStatic, setVisibility, toFun |
| Methods inherited from class com.caucho.quercus.env.Callback |
|---|
callArray, callArray, callArray, toCallable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaOverloadMethod(AbstractJavaMethod fun)
| Method Detail |
|---|
public int getMaxArgLength()
AbstractJavaMethod
getMaxArgLength in class AbstractJavaMethodpublic int getMinArgLength()
AbstractJavaMethod
getMinArgLength in class AbstractJavaMethodpublic boolean getHasRestArgs()
AbstractJavaMethod
getHasRestArgs in class AbstractJavaMethodpublic AbstractJavaMethod overload(AbstractJavaMethod fun)
overload in class AbstractJavaMethodpublic AbstractFunction getActualFunction(Expr[] args)
getActualFunction in class AbstractFunction
public Value callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value[] args)
callMethod in class AbstractJavaMethodpublic int getMarshalingCost(Value[] args)
getMarshalingCost in class AbstractJavaMethodpublic int getMarshalingCost(Expr[] args)
getMarshalingCost in class AbstractJavaMethodpublic java.lang.String getName()
getName in class AbstractFunctionpublic java.lang.String toString()
toString in class AbstractFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||