com.caucho.quercus.lib.reflection
Class ReflectionParameter

java.lang.Object
  extended by com.caucho.quercus.lib.reflection.ReflectionParameter
All Implemented Interfaces:
Reflector

public class ReflectionParameter
extends java.lang.Object
implements Reflector


Constructor Summary
protected ReflectionParameter(AbstractFunction fun, Arg arg)
           
protected ReflectionParameter(java.lang.String clsName, AbstractFunction fun, Arg arg)
           
 
Method Summary
static ReflectionParameter __construct(Env env, java.lang.String funName, StringValue paramName)
           
 boolean allowsNull()
           
static java.lang.String export(Env env, Value function, Value parameter, boolean isReturn)
           
 ReflectionClass getClass(Env env)
           
 ReflectionClass getDeclaringClass(Env env)
           
 Value getDefaultValue(Env env)
           
 StringValue getName()
           
 boolean isArray()
           
 boolean isDefaultValueAvailable()
           
 boolean isOptional()
           
 boolean isPassedByReference()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectionParameter

protected ReflectionParameter(AbstractFunction fun,
                              Arg arg)

ReflectionParameter

protected ReflectionParameter(java.lang.String clsName,
                              AbstractFunction fun,
                              Arg arg)
Method Detail

__construct

public static ReflectionParameter __construct(Env env,
                                              java.lang.String funName,
                                              StringValue paramName)

export

public static java.lang.String export(Env env,
                                      Value function,
                                      Value parameter,
                                      boolean isReturn)

getName

public StringValue getName()

isPassedByReference

public boolean isPassedByReference()

getDeclaringClass

public ReflectionClass getDeclaringClass(Env env)

getClass

public ReflectionClass getClass(Env env)

isArray

public boolean isArray()

allowsNull

public boolean allowsNull()

isOptional

public boolean isOptional()

isDefaultValueAvailable

public boolean isDefaultValueAvailable()

getDefaultValue

public Value getDefaultValue(Env env)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object