public class StaticFunction extends JavaInvoker
Modifier and Type | Field and Description |
---|---|
protected QuercusModule |
_quercusModule |
_method
_bindingClass, _declaringClassName, _isClosure, _isConstructor, _isFinal, _isStatic, _isTraitMethod, _parseIndex, _visibility, NULL_ARGS
NULL_VALUE_ARRAY
Constructor and Description |
---|
StaticFunction(ModuleContext moduleContext,
QuercusModule quercusModule,
java.lang.reflect.Method method)
Creates the statically introspected function.
|
Modifier and Type | Method and Description |
---|---|
int |
getArgumentLength() |
java.lang.String |
getDeclaringClassName()
Returns the name of class lexically declaring the method
|
java.lang.reflect.Method |
getMethod()
Returns the function's method.
|
QuercusModule |
getModule()
Returns the owning module object.
|
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.Object[] javaArgs)
Evalutes the function.
|
boolean |
isStatic()
Returns true for a static function.
|
java.lang.String |
toString() |
call, callMethod, callMethodRef, callNew, evalArguments, getDeclaringClass, getDefaultExprs, getFunctionName, getHasEnv, getHasRestArgs, getJavaDeclaringClass, getMarshalArgs, getMarshalingCost, getMarshalingCost, getMaxArgLength, getMethodAnn, getMinArgLength, getName, getParamAnn, getUnmarshalReturn, init, isBoolean, isCallUsesSymbolTable, isCallUsesVariableArgs, isDouble, isLong, isRestReference, isString
call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, getJavaParameterTypes, isJavaMethod, overload
callClosure, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, errorPrivateAccess, errorProtectedAccess, getActualFunction, getArgs, getBindingClass, getBindingClassName, getCallbackName, getClosureUseArgs, getComment, getCompilationName, getDeclComment, getDeclEndLine, getDeclFileName, getDeclStartLine, getLocation, getType, isAbstract, isCallable, isClosure, isConstructor, isFinal, isGlobal, isInternal, isObject, isPrivate, isProtected, isPublic, isReturnsReference, isTraitMethod, 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
protected final QuercusModule _quercusModule
public StaticFunction(ModuleContext moduleContext, QuercusModule quercusModule, java.lang.reflect.Method method)
method
- the introspected method.public boolean isStatic()
AbstractFunction
isStatic
in class AbstractFunction
public java.lang.String getDeclaringClassName()
AbstractFunction
getDeclaringClassName
in class AbstractFunction
public QuercusModule getModule()
public java.lang.reflect.Method getMethod()
public int getArgumentLength()
public java.lang.Object invoke(java.lang.Object obj, java.lang.Object[] javaArgs)
invoke
in class JavaInvoker
public java.lang.String toString()
toString
in class AbstractFunction