com.caucho.quercus.lib.reflection
Class ReflectionProperty
java.lang.Object
com.caucho.quercus.lib.reflection.ReflectionProperty
- All Implemented Interfaces:
- Reflector
public class ReflectionProperty
- extends java.lang.Object
- implements Reflector
Method Summary |
static ReflectionProperty |
__construct(Env env,
java.lang.String clsName,
StringValue propName)
|
protected static ReflectionProperty |
create(Env env,
QuercusClass cls,
StringValue propName,
boolean isStatic)
|
static java.lang.String |
export(Env env,
Value cls,
java.lang.String name,
boolean isReturn)
|
ReflectionClass |
getDeclaringClass(Env env)
|
java.lang.String |
getDocComment(Env env)
|
int |
getModifiers()
|
StringValue |
getName()
|
Value |
getValue(Env env,
ObjectValue obj)
|
boolean |
isDefault()
|
boolean |
isPrivate()
|
boolean |
isProtected()
|
boolean |
isPublic()
|
boolean |
isStatic()
|
void |
setValue(Env env,
ObjectValue obj,
Value value)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IS_STATIC
public static final int IS_STATIC
- See Also:
- Constant Field Values
IS_PUBLIC
public static final int IS_PUBLIC
- See Also:
- Constant Field Values
IS_PROTECTED
public static final int IS_PROTECTED
- See Also:
- Constant Field Values
IS_PRIVATE
public static final int IS_PRIVATE
- See Also:
- Constant Field Values
ReflectionProperty
protected ReflectionProperty(com.caucho.quercus.lib.reflection.ReflectionProperty.Property prop)
ReflectionProperty
protected ReflectionProperty(Env env,
QuercusClass cls,
StringValue nameV)
create
protected static ReflectionProperty create(Env env,
QuercusClass cls,
StringValue propName,
boolean isStatic)
__construct
public static ReflectionProperty __construct(Env env,
java.lang.String clsName,
StringValue propName)
export
public static java.lang.String export(Env env,
Value cls,
java.lang.String name,
boolean isReturn)
getName
public StringValue getName()
isPublic
public boolean isPublic()
isPrivate
public boolean isPrivate()
isProtected
public boolean isProtected()
isStatic
public boolean isStatic()
isDefault
public boolean isDefault()
getModifiers
public int getModifiers()
getValue
public Value getValue(Env env,
ObjectValue obj)
setValue
public void setValue(Env env,
ObjectValue obj,
Value value)
getDeclaringClass
public ReflectionClass getDeclaringClass(Env env)
getDocComment
public java.lang.String getDocComment(Env env)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object