public class QuercusClass extends NullValue
NULL_ARGS, NULL_VALUE_ARRAY
Constructor and Description |
---|
QuercusClass(ModuleContext moduleContext,
ClassDef classDef,
QuercusClass parent) |
QuercusClass(QuercusClass cacheClass,
QuercusClass parent)
Copy based on a cached value
|
Modifier and Type | Method and Description |
---|---|
void |
addConstant(StringValue name,
Expr expr)
Adds a constant definition
|
void |
addField(ClassField field)
Adds a field.
|
void |
addInitializer(InstanceInitializer init)
Adds an initializer
|
void |
addJavaConstant(StringValue name,
java.lang.Object obj)
Adds a constant definition
|
void |
addMethod(StringValue name,
AbstractFunction fun)
Adds a method.
|
void |
addMethodIfNotExist(StringValue name,
AbstractFunction fun)
Adds a method if it does not exist.
|
void |
addStaticFieldExpr(java.lang.String className,
StringValue name,
Expr value)
Adds a static class field.
|
void |
addStaticTraitFieldExpr(java.lang.String bindingClassName,
StringValue name,
Expr value)
Adds a static class field.
|
void |
addTraitField(ClassField field)
Adds a trait field.
|
void |
addTraitMethod(java.lang.String bindingClassName,
StringValue name,
AbstractFunction fun)
Adds a trait method to this class.
|
Value |
callConstructor(Env env,
Value qThis,
Value... args)
Calls the A::__construct constructor.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash)
calls the function.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash,
Value a1)
calls the function.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash,
Value[] args)
calls the function.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2)
calls the function.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3)
calls the function.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function.
|
Value |
callMethod(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName) |
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value[] args)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function.
|
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
Value a1) |
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
Value[] args) |
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2) |
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3) |
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4) |
Value |
callMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5) |
Value |
callMethodRef(Env env,
StringValue methodName,
int hash)
calls the function.
|
Value |
callMethodRef(Env env,
StringValue methodName,
int hash,
Value a1)
calls the function.
|
Value |
callMethodRef(Env env,
StringValue methodName,
int hash,
Value[] args)
calls the function.
|
Value |
callMethodRef(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2)
calls the function.
|
Value |
callMethodRef(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3)
calls the function.
|
Value |
callMethodRef(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function.
|
Value |
callMethodRef(Env env,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName) |
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value[] args)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function.
|
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1) |
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
Value[] args) |
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2) |
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3) |
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4) |
Value |
callMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5) |
Value |
callNew(Env env,
java.lang.Object parentJavaObject,
Value... args) |
Value |
callNew(Env env,
Value... args)
Creates a new instance.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value[] args)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
Value a1)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
Value[] args)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function statically.
|
Value |
callStaticMethod(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value[] args)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
int hash,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
Value[] args)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4)
calls the function statically.
|
Value |
callStaticMethodRef(Env env,
Value qThis,
StringValue methodName,
Value a1,
Value a2,
Value a3,
Value a4,
Value a5)
calls the function statically.
|
Value |
createObject(Env env)
Creates a new object without calling the constructor.
|
Value |
createObject(Env env,
boolean isInit)
Creates a new object without calling the constructor.
|
boolean |
equals(java.lang.Object o) |
AbstractFunction |
findConstructor()
Finds the matching constructor.
|
int |
findFieldIndex(StringValue name)
Returns a set of the fields and their initial values
|
AbstractFunction |
findFunction(java.lang.String methodName)
Finds the matching function.
|
AbstractFunction |
findFunction(StringValue methodName)
Finds the matching function.
|
QuercusClass |
findQuercusClass(Env env)
Returns the Quercus class for this obj/name.
|
AbstractFunction |
findStaticFunction(java.lang.String name)
Finds the matching function.
|
AbstractFunction |
findStaticFunctionLowerCase(java.lang.String name)
Finds a function.
|
ArrayDelegate |
getArrayDelegate()
Gets the array delegate (see ArrayAccess)
|
AbstractFunction |
getCall()
Gets the __call
|
AbstractFunction |
getCallStatic()
Gets the _callStatic
|
ClassDef |
getClassDef() |
ClassDef[] |
getClassDefList()
Returns the class definitions for this class.
|
ClassField |
getClassField(StringValue name)
Returns a set of the fields and their initial values
|
java.util.HashMap<StringValue,ClassField> |
getClassFields()
Returns a set of the fields and their initial values
|
java.lang.Iterable<AbstractFunction> |
getClassMethods()
Returns the declared functions.
|
java.lang.String |
getClassName()
Returns the value's class name.
|
Value |
getConstant(Env env,
StringValue name)
Finds the matching constant
|
java.util.HashMap<StringValue,Value> |
getConstantMap(Env env)
Returns the constants defined in this class.
|
AbstractFunction |
getConstructor()
Gets the constructor.
|
CountDelegate |
getCountDelegate()
Gets the count delegate
|
AbstractFunction |
getDestructor()
Gets the destructor.
|
java.lang.String |
getExtension() |
Value |
getField(Env env,
Value qThis,
StringValue name)
Implements the __get method call.
|
AbstractFunction |
getFieldGet()
Returns the __fieldGet
|
AbstractFunction |
getFieldSet()
Returns the __fieldSet
|
int |
getFieldSize()
Returns the number of fields.
|
AbstractFunction |
getFunction(StringValue methodName)
Finds the matching function.
|
AbstractFunction |
getFunction(StringValue methodName,
int hash)
Finds the matching function.
|
java.util.HashSet<java.lang.String> |
getInstanceofSet() |
ArrayValue |
getInterfaces(Env env,
boolean autoload)
Returns an array of the interfaces that this class and its parents
implements.
|
AbstractFunction |
getInvoke()
Gets the __invoke
|
AbstractFunction |
getIsset() |
JavaClassDef |
getJavaClassDef() |
AbstractFunction |
getMethod(StringValue name) |
MethodMap<AbstractFunction> |
getMethodMap() |
ModuleContext |
getModuleContext()
Returns the module context.
|
java.lang.String |
getName()
Returns the name.
|
QuercusClass |
getParent()
Returns the parent class.
|
java.lang.String |
getParentName()
Returns the parent class.
|
QuercusClass |
getQuercusClass()
Returns the backing QuercusClass.
|
AbstractFunction |
getSerialize() |
Value |
getStaticFieldInternal(Env env,
StringValue name)
For Reflection.
|
java.util.ArrayList<StringValue> |
getStaticFieldNames()
Returns the static field names.
|
Value |
getStaticFieldValue(Env env,
StringValue name)
Returns the static field.
|
Var |
getStaticFieldVar(Env env,
StringValue name)
Returns the static field reference.
|
AbstractFunction |
getStaticFunction(java.lang.String name)
Finds the matching function.
|
AbstractFunction |
getToString()
Gets the __toString
|
java.lang.String |
getTraitMethodBindingClassName(StringValue traitMethodName)
Returns the name of the class that included this trait.
|
QuercusClass |
getTraitParent(Env env,
java.lang.String traitName)
Returns the parent context for the trait.
|
TraversableDelegate |
getTraversableDelegate()
Gets the traversable delegate
|
AbstractFunction |
getUnserialize() |
AbstractFunction |
getUnset() |
boolean |
hasConstant(StringValue name)
Returns true if the constant exists.
|
int |
hashCode() |
boolean |
implementsInterface(Env env,
java.lang.String name)
Returns true if this class or its parents implements specified interface.
|
void |
init(Env env) |
void |
initObject(Env env,
ObjectValue obj)
Initializes the object's methods and fields.
|
void |
initObject(Env env,
ObjectValue obj,
boolean isInitFieldValues)
Initializes the object's methods and fields.
|
boolean |
isA(Env env,
java.lang.String name)
Returns true for an implementation of a class
|
boolean |
isAbstract() |
boolean |
isFinal() |
boolean |
isInterface() |
boolean |
isModified()
Returns true if the class is modified for caching.
|
boolean |
isNull()
Returns true for a null.
|
boolean |
issetField(Env env,
StringValue name)
Returns true if the field is set
|
boolean |
issetField(Env env,
Value qThis,
StringValue name)
Implements the __isset method call.
|
boolean |
isTrait() |
void |
setArrayDelegate(ArrayDelegate delegate)
Sets the array delegate (see ArrayAccess)
|
void |
setCall(AbstractFunction fun)
Sets the __call
|
void |
setCallStatic(AbstractFunction fun)
Sets the _callStatic
|
void |
setConstructor(AbstractFunction fun)
Sets the constructor.
|
void |
setCountDelegate(CountDelegate delegate)
Sets the count delegate
|
void |
setDestructor(AbstractFunction fun)
Sets the destructor.
|
Value |
setField(Env env,
Value qThis,
StringValue name,
Value value)
Implements the __set method call.
|
void |
setFieldGet(AbstractFunction fun)
Sets the __fieldGet
|
void |
setFieldSet(AbstractFunction fun)
Sets the __fieldSet
|
void |
setInvoke(AbstractFunction fun)
Sets the __invoke
|
void |
setIsset(AbstractFunction isset) |
void |
setModified()
Mark the class as modified for caching.
|
void |
setSerialize(AbstractFunction serializeFun,
AbstractFunction unserializeFun)
Sets the Serializable functions.
|
Value |
setStaticFieldRef(Env env,
StringValue name,
Value value)
Sets the static field.
|
void |
setToString(AbstractFunction fun)
Sets the __toString
|
void |
setTraversableDelegate(TraversableDelegate delegate)
Sets the traversable delegate
|
void |
setUnset(AbstractFunction unset) |
java.lang.String |
toString()
Converts to a string.
|
Value |
unsetField(Env env,
Value qThis,
StringValue name)
implements the __unset method call
__unset() is invoked when unset() is used on inaccessible properties.
|
void |
unsetField(StringValue name)
Removes the field ref.
|
void |
validate(Env env) |
add, append, appendTo, appendTo, appendTo, appendTo, cmp, create, eq, eql, generate, getArray, getCount, getObject, getSize, getType, getValueType, isEmpty, isset, jsonEncode, print, serialize, sub, toArgRef, toArray, toArrayValue, toAutoArray, toAutoObject, toBigDecimal, toBigInteger, toBoolean, toBooleanMarshalCost, toByteMarshalCost, toDebugString, toDouble, toDoubleMarshalCost, toIntegerMarshalCost, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaEnum, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaMap, toJavaObject, toJavaObject, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toKey, toLong, toLongMarshalCost, toObject, toShortMarshalCost, toStringBuilder, toStringValue, valuesToArray, varDumpImpl, varExportImpl
abs, add, addOne, bitAnd, bitOr, bitXor, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eqValue, geq, get, get, getArg, getArgTail, getArray, getBaseIterator, getCallableName, getCalledClass, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getKeyArray, getKeyIterator, getObject, getObjectHash, getRef, getResourceType, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getValueArray, getValueIterator, getVar, gt, hasCurrent, increment, initField, initField, initField, initIncompleteField, isA, isArray, isBinary, isBoolean, isCallable, isDefault, isDouble, isDoubleConvertible, isEmpty, isFieldExists, isFieldInit, isLong, isLongConvertible, isNumberConvertible, isNumeric, isObject, isResource, isset, issetThisField, isString, isUnicode, isVar, key, keyExists, length, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, printDepth, printJavaChar, printJavaString, printR, printRImpl, put, put, put, putArray, putField, putField, putField, putObject, putThisField, putThisField, putThisFieldArray, putVar, remove, reset, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, shuffle, sub_rev, sub, subOne, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toByteArrayMarshalCost, toCallable, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDouble, toDouble, toDouble, toDouble, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toInternString, toJavaObjectMarshalCost, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLong, toLong, toLong, toLong, toLongValue, toRef, toRefValue, toString, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValue, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetThisArray, unsetThisField, unsetThisPrivateField, varDump, varExport
public QuercusClass(ModuleContext moduleContext, ClassDef classDef, QuercusClass parent)
public QuercusClass(QuercusClass cacheClass, QuercusClass parent)
public ClassDef getClassDef()
public JavaClassDef getJavaClassDef()
public MethodMap<AbstractFunction> getMethodMap()
public AbstractFunction getMethod(StringValue name)
public java.util.HashSet<java.lang.String> getInstanceofSet()
public java.lang.String getName()
public QuercusClass getParent()
public QuercusClass getTraitParent(Env env, java.lang.String traitName)
public ModuleContext getModuleContext()
public ClassDef[] getClassDefList()
public java.lang.String getExtension()
public boolean isInterface()
public boolean isAbstract()
public boolean isTrait()
public boolean isFinal()
public void setConstructor(AbstractFunction fun)
public AbstractFunction getConstructor()
public void setDestructor(AbstractFunction fun)
public AbstractFunction getDestructor()
public boolean isModified()
public void setModified()
public void setArrayDelegate(ArrayDelegate delegate)
public final ArrayDelegate getArrayDelegate()
public void setTraversableDelegate(TraversableDelegate delegate)
public final TraversableDelegate getTraversableDelegate()
public void setCountDelegate(CountDelegate delegate)
public final CountDelegate getCountDelegate()
public void setSerialize(AbstractFunction serializeFun, AbstractFunction unserializeFun)
public AbstractFunction getSerialize()
public AbstractFunction getUnserialize()
public void setFieldGet(AbstractFunction fun)
public AbstractFunction getFieldGet()
public void setFieldSet(AbstractFunction fun)
public AbstractFunction getFieldSet()
public void setCall(AbstractFunction fun)
public AbstractFunction getCall()
public void setCallStatic(AbstractFunction fun)
public AbstractFunction getCallStatic()
public void setInvoke(AbstractFunction fun)
public AbstractFunction getInvoke()
public void setToString(AbstractFunction fun)
public AbstractFunction getToString()
public void addInitializer(InstanceInitializer init)
public void addField(ClassField field)
public void addTraitField(ClassField field)
public java.util.HashMap<StringValue,ClassField> getClassFields()
public ClassField getClassField(StringValue name)
public int findFieldIndex(StringValue name)
public java.lang.Iterable<AbstractFunction> getClassMethods()
public void addMethod(StringValue name, AbstractFunction fun)
public void addMethodIfNotExist(StringValue name, AbstractFunction fun)
public void addTraitMethod(java.lang.String bindingClassName, StringValue name, AbstractFunction fun)
public void addStaticFieldExpr(java.lang.String className, StringValue name, Expr value)
public void addStaticTraitFieldExpr(java.lang.String bindingClassName, StringValue name, Expr value)
public java.util.ArrayList<StringValue> getStaticFieldNames()
public void addConstant(StringValue name, Expr expr)
public void addJavaConstant(StringValue name, java.lang.Object obj)
public int getFieldSize()
public java.lang.String getTraitMethodBindingClassName(StringValue traitMethodName)
public void validate(Env env)
public void init(Env env)
public Value getStaticFieldValue(Env env, StringValue name)
Value
getStaticFieldValue
in class Value
public Var getStaticFieldVar(Env env, StringValue name)
Value
getStaticFieldVar
in class Value
public Value setStaticFieldRef(Env env, StringValue name, Value value)
Value
setStaticFieldRef
in class Value
public Value getStaticFieldInternal(Env env, StringValue name)
public Value createObject(Env env)
public Value createObject(Env env, boolean isInit)
public void initObject(Env env, ObjectValue obj)
public void initObject(Env env, ObjectValue obj, boolean isInitFieldValues)
public java.lang.String getParentName()
public boolean isA(Env env, java.lang.String name)
public ArrayValue getInterfaces(Env env, boolean autoload)
public boolean implementsInterface(Env env, java.lang.String name)
public AbstractFunction findConstructor()
public Value getField(Env env, Value qThis, StringValue name)
public boolean issetField(Env env, Value qThis, StringValue name)
public boolean issetField(Env env, StringValue name)
Value
issetField
in class Value
public void unsetField(StringValue name)
Value
unsetField
in class Value
public Value unsetField(Env env, Value qThis, StringValue name)
public Value setField(Env env, Value qThis, StringValue name, Value value)
public AbstractFunction findStaticFunction(java.lang.String name)
public final AbstractFunction getFunction(StringValue methodName)
public final AbstractFunction findFunction(java.lang.String methodName)
public final AbstractFunction findFunction(StringValue methodName)
findFunction
in class Value
public final AbstractFunction getFunction(StringValue methodName, int hash)
public Value callConstructor(Env env, Value qThis, Value... args)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash, Value[] args)
public final Value callMethod(Env env, Value qThis, StringValue methodName, Value[] args)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash)
public final Value callMethod(Env env, Value qThis, StringValue methodName)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1)
public final Value callMethod(Env env, Value qThis, StringValue methodName, Value a1)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2)
public final Value callMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3)
public final Value callMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4)
public final Value callMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4)
public Value callMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4, Value a5)
public final Value callMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4, Value a5)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value[] args)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName, Value[] args)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName, Value a1)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4)
public Value callMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4, Value a5)
public final Value callMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4, Value a5)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, Value[] args)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, Value a1)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4, Value a5)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash, Value[] args)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4)
public Value callStaticMethod(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4, Value a5)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, Value[] args)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, Value a1)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, Value a1, Value a2, Value a3, Value a4, Value a5)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value[] args)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4)
public Value callStaticMethodRef(Env env, Value qThis, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4, Value a5)
public Value callMethod(Env env, StringValue methodName, int hash, Value[] args)
callMethod
in class Value
public Value callMethod(Env env, StringValue methodName, int hash)
callMethod
in class Value
public Value callMethod(Env env, StringValue methodName, int hash, Value a1)
callMethod
in class Value
public Value callMethod(Env env, StringValue methodName, int hash, Value a1, Value a2)
callMethod
in class Value
public Value callMethod(Env env, StringValue methodName, int hash, Value a1, Value a2, Value a3)
callMethod
in class Value
public Value callMethod(Env env, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4)
callMethod
in class Value
public Value callMethod(Env env, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4, Value a5)
callMethod
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash, Value[] args)
callMethodRef
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash)
callMethodRef
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash, Value a1)
callMethodRef
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash, Value a1, Value a2)
callMethodRef
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash, Value a1, Value a2, Value a3)
callMethodRef
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4)
callMethodRef
in class Value
public Value callMethodRef(Env env, StringValue methodName, int hash, Value a1, Value a2, Value a3, Value a4, Value a5)
callMethodRef
in class Value
public AbstractFunction findStaticFunctionLowerCase(java.lang.String name)
public final AbstractFunction getStaticFunction(java.lang.String name)
public final Value getConstant(Env env, StringValue name)
public final boolean hasConstant(StringValue name)
public final java.util.HashMap<StringValue,Value> getConstantMap(Env env)
public boolean isNull()
NullValue
public java.lang.String getClassName()
getClassName
in class Value
public QuercusClass getQuercusClass()
Value
getQuercusClass
in class Value
public QuercusClass findQuercusClass(Env env)
Value
findQuercusClass
in class Value
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void setIsset(AbstractFunction isset)
public void setUnset(AbstractFunction unset)
public AbstractFunction getIsset()
public AbstractFunction getUnset()