public class LazyMethod extends AbstractFunction
_bindingClass, _declaringClassName, _isClosure, _isConstructor, _isFinal, _isStatic, _isTraitMethod, _parseIndex, _visibility, NULL_ARGS
NULL_VALUE_ARRAY
Constructor and Description |
---|
LazyMethod(java.lang.Class<?> pageClass,
java.lang.String name,
java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
Value |
call(Env env,
Value[] args)
Evaluates the function.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis)
Evaluates the function as a method call.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value a1)
Evaluates the function as a method call.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value[] args)
Evaluates the method call.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2)
Evaluates the function as a method call.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2,
Value a3)
Evaluates the function as a method call.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2,
Value a3,
Value a4)
Evaluates the function as a method call.
|
Value |
callMethod(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
Evaluates the function as a method call.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis)
Evaluates the function as a method call.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Value a1)
Evaluates the function as a method call.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Value[] args)
Evaluates the method call, returning a reference.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2)
Evaluates the function as a method call.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2,
Value a3)
Evaluates the function as a method call.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2,
Value a3,
Value a4)
Evaluates the function as a method call.
|
Value |
callMethodRef(Env env,
QuercusClass qClass,
Value qThis,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
Evaluates the function as a method call.
|
Arg[] |
getArgs(Env env)
Returns the formal arguments.
|
java.lang.String |
getComment()
Returns the documentation for this function.
|
java.lang.String |
getDeclaringClassName()
Returns the name of class lexically declaring the method
|
java.lang.String |
getName() |
boolean |
isAbstract()
Returns true for an abstract function.
|
boolean |
isFinal()
Returns true for a final function.
|
boolean |
isPrivate()
Returns true for a private function.
|
boolean |
isProtected()
Returns true for a protected function.
|
boolean |
isPublic()
Returns true for a protected function.
|
boolean |
isStatic()
Returns true for a static function.
|
boolean |
isTraitMethod()
Returns true for a trait method.
|
AbstractFunction |
toFun(QuercusClass quercusClass) |
java.lang.String |
toString() |
call, call, call, call, call, call, callClosure, callCopy, callMethod, callMethodRef, callNew, callRef, callRef, callRef, callRef, callRef, callRef, callRef, errorPrivateAccess, errorProtectedAccess, evalArguments, getActualFunction, getBindingClass, getBindingClassName, getCallbackName, getClosureUseArgs, getCompilationName, getDeclaringClass, getDeclComment, getDeclEndLine, getDeclFileName, getDeclStartLine, getLocation, getType, isBoolean, isCallable, isCallUsesSymbolTable, isCallUsesVariableArgs, isClosure, isConstructor, isDouble, isGlobal, isInternal, isJavaMethod, isLong, isObject, isReturnsReference, isString, isValid, setBindingClass, setClosure, setClosureUseArgs, setConstructor, setDeclaringClassName, setFinal, setGlobal, setParseIndex, setStatic, setTraitMethod, setVisibility, toFun
callArray, callArray, callArray, toCallable
abs, 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, varExportImpl
public LazyMethod(java.lang.Class<?> pageClass, java.lang.String name, java.lang.String className)
public java.lang.String getName()
getName
in class AbstractFunction
public AbstractFunction toFun(QuercusClass quercusClass)
public boolean isStatic()
AbstractFunction
isStatic
in class AbstractFunction
public boolean isFinal()
AbstractFunction
isFinal
in class AbstractFunction
public boolean isPublic()
AbstractFunction
isPublic
in class AbstractFunction
public boolean isProtected()
AbstractFunction
isProtected
in class AbstractFunction
public boolean isPrivate()
AbstractFunction
isPrivate
in class AbstractFunction
public boolean isAbstract()
AbstractFunction
isAbstract
in class AbstractFunction
public boolean isTraitMethod()
AbstractFunction
isTraitMethod
in class AbstractFunction
public java.lang.String getComment()
AbstractFunction
getComment
in class AbstractFunction
public java.lang.String getDeclaringClassName()
AbstractFunction
getDeclaringClassName
in class AbstractFunction
public Arg[] getArgs(Env env)
Callable
getArgs
in interface Callable
getArgs
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value[] args)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value a1)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2, Value a3)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2, Value a3, Value a4)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethod(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2, Value a3, Value a4, Value a5)
AbstractFunction
callMethod
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis, Value[] args)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis, Value a1)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2, Value a3)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2, Value a3, Value a4)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value callMethodRef(Env env, QuercusClass qClass, Value qThis, Value a1, Value a2, Value a3, Value a4, Value a5)
AbstractFunction
callMethodRef
in class AbstractFunction
public Value call(Env env, Value[] args)
AbstractFunction
call
in interface Callable
call
in class AbstractFunction
env
- the calling environmentpublic java.lang.String toString()
toString
in class AbstractFunction