public class JavaOverloadMethod extends AbstractJavaMethod
_bindingClass, _declaringClassName, _isClosure, _isConstructor, _isFinal, _isStatic, _isTraitMethod, _parseIndex, _visibility, NULL_ARGSNULL_VALUE_ARRAY| Constructor and Description |
|---|
JavaOverloadMethod(AbstractJavaMethod fun) |
| Modifier and Type | Method and Description |
|---|---|
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() |
call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, getJavaDeclaringClass, getJavaParameterTypes, isJavaMethodcallClosure, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callNew, callRef, callRef, callRef, callRef, callRef, callRef, callRef, errorPrivateAccess, errorProtectedAccess, evalArguments, getArgs, getBindingClass, getBindingClassName, getCallbackName, getClosureUseArgs, getComment, getCompilationName, getDeclaringClass, getDeclaringClassName, getDeclComment, getDeclEndLine, getDeclFileName, getDeclStartLine, getLocation, getType, isAbstract, isBoolean, isCallable, isCallUsesSymbolTable, isCallUsesVariableArgs, isClosure, isConstructor, isDouble, isFinal, isGlobal, isInternal, isLong, isObject, isPrivate, isProtected, isPublic, isReturnsReference, isStatic, isString, isTraitMethod, isValid, setBindingClass, setClosure, setClosureUseArgs, setConstructor, setDeclaringClassName, setFinal, setGlobal, setParseIndex, setStatic, setTraitMethod, setVisibility, toFuncallArray, callArray, callArray, toCallableabs, add, add, addOne, append, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, charValueAt, checkPrivate, checkProtected, clone, cmp, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eq, eql, eqValue, findFunction, findQuercusClass, generate, geq, get, get, getArg, getArgTail, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getKeyArray, getKeyIterator, getObject, getObject, getObjectHash, getQuercusClass, getRef, getResourceType, getSize, getStaticFieldValue, getStaticFieldVar, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getValueArray, getValueIterator, getValueType, getVar, gt, hasCurrent, hashCode, increment, initField, initField, initField, initIncompleteField, isA, isA, isArray, isBinary, isDefault, isDoubleConvertible, isEmpty, isEmpty, isFieldExists, isFieldInit, isLongConvertible, isNull, isNumberConvertible, isNumeric, isResource, isset, isset, issetField, issetThisField, isUnicode, isVar, jsonEncode, key, keyExists, length, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, print, printDepth, printJavaChar, printJavaString, printR, printRImpl, put, put, put, putArray, putField, putField, putField, putObject, putThisField, putThisField, putThisFieldArray, putVar, remove, reset, rshift, serialize, serialize, set, setCharValueAt, setFieldInit, setJavaObject, setStaticFieldRef, shuffle, sub_rev, sub, sub, subOne, toArgRef, toArray, toArrayValue, toAutoArray, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toBoolean, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDebugString, toDouble, toDouble, toDouble, toDouble, toDouble, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaEnum, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaMap, toJavaObject, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toKey, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLong, toLong, toLong, toLong, toLong, toLongMarshalCost, toLongValue, toObject, toRef, toRefValue, toShortMarshalCost, toString, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, unsetThisPrivateField, valuesToArray, varDump, varDumpImpl, varExport, varExportImplpublic JavaOverloadMethod(AbstractJavaMethod fun)
public int getMaxArgLength()
AbstractJavaMethodgetMaxArgLength in class AbstractJavaMethodpublic int getMinArgLength()
AbstractJavaMethodgetMinArgLength in class AbstractJavaMethodpublic boolean getHasRestArgs()
AbstractJavaMethodgetHasRestArgs in class AbstractJavaMethodpublic AbstractJavaMethod overload(AbstractJavaMethod fun)
overload in class AbstractJavaMethodpublic AbstractFunction getActualFunction(Expr[] args)
getActualFunction in class AbstractFunctionpublic 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