db4o 6.1

com.db4o.reflect
Interface ReflectClass

All Known Implementing Classes:
JdkClass, SelfClass

public interface ReflectClass

representation for java.lang.Class.

See the respective documentation in the JDK API.

See Also:
Reflector

Method Summary
 ReflectClass getComponentType()
           
 ReflectConstructor[] getDeclaredConstructors()
           
 ReflectField getDeclaredField(java.lang.String name)
           
 ReflectField[] getDeclaredFields()
           
 ReflectClass getDelegate()
           
 ReflectMethod getMethod(java.lang.String methodName, ReflectClass[] paramClasses)
           
 java.lang.String getName()
           
 ReflectClass getSuperclass()
           
 boolean isAbstract()
           
 boolean isArray()
           
 boolean isAssignableFrom(ReflectClass type)
           
 boolean isCollection()
           
 boolean isInstance(java.lang.Object obj)
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 boolean isSecondClass()
           
 java.lang.Object newInstance()
           
 Reflector reflector()
           
 boolean skipConstructor(boolean flag)
          instructs to install or uninstall a special constructor for the respective platform that avoids calling the constructor for the respective class
 java.lang.Object[] toArray(java.lang.Object obj)
           
 void useConstructor(ReflectConstructor constructor, java.lang.Object[] params)
           
 

Method Detail

getComponentType

ReflectClass getComponentType()

getDeclaredConstructors

ReflectConstructor[] getDeclaredConstructors()

getDeclaredFields

ReflectField[] getDeclaredFields()

getDeclaredField

ReflectField getDeclaredField(java.lang.String name)

getDelegate

ReflectClass getDelegate()

getMethod

ReflectMethod getMethod(java.lang.String methodName,
                        ReflectClass[] paramClasses)

getName

java.lang.String getName()

getSuperclass

ReflectClass getSuperclass()

isAbstract

boolean isAbstract()

isArray

boolean isArray()

isAssignableFrom

boolean isAssignableFrom(ReflectClass type)

isCollection

boolean isCollection()

isInstance

boolean isInstance(java.lang.Object obj)

isInterface

boolean isInterface()

isPrimitive

boolean isPrimitive()

isSecondClass

boolean isSecondClass()

newInstance

java.lang.Object newInstance()

reflector

Reflector reflector()

skipConstructor

boolean skipConstructor(boolean flag)
instructs to install or uninstall a special constructor for the respective platform that avoids calling the constructor for the respective class

Parameters:
flag - true to try to install a special constructor, false if such a constructor is to be removed if present
Returns:
true if the special constructor is in place after the call

useConstructor

void useConstructor(ReflectConstructor constructor,
                    java.lang.Object[] params)

toArray

java.lang.Object[] toArray(java.lang.Object obj)

db4o 6.1