|
||||||||||
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 |
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, isJavaMethod |
Methods inherited from class com.caucho.quercus.function.AbstractFunction |
---|
callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callNew, callRef, callRef, callRef, callRef, callRef, callRef, callRef, errorPrivateAccess, errorProtectedAccess, evalArguments, getArgs, getBindingClass, getBindingClassName, getCallbackName, getComment, getCompilationName, getDeclaringClass, getDeclaringClassName, getLocation, getType, isAbstract, isBoolean, isCallable, 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 AbstractJavaMethod
public int getMinArgLength()
AbstractJavaMethod
getMinArgLength
in class AbstractJavaMethod
public boolean getHasRestArgs()
AbstractJavaMethod
getHasRestArgs
in class AbstractJavaMethod
public AbstractJavaMethod overload(AbstractJavaMethod fun)
overload
in class AbstractJavaMethod
public AbstractFunction getActualFunction(Expr[] args)
getActualFunction
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value[] args)
callMethod
in class AbstractJavaMethod
public int getMarshalingCost(Value[] args)
getMarshalingCost
in class AbstractJavaMethod
public int getMarshalingCost(Expr[] args)
getMarshalingCost
in class AbstractJavaMethod
public java.lang.String getName()
getName
in class AbstractFunction
public java.lang.String toString()
toString
in class AbstractFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |