net.ep.db4o.javassist
Class JVSTClass

java.lang.Object
  extended by net.ep.db4o.javassist.JVSTClass
All Implemented Interfaces:
com.db4o.reflect.core.ConstructorAwareReflectClass, com.db4o.reflect.jdk.JavaReflectClass, com.db4o.reflect.ReflectClass

public class JVSTClass
extends java.lang.Object
implements com.db4o.reflect.jdk.JavaReflectClass


Field Summary
static java.lang.String ACTIVATOR_FIELD
           
 
Constructor Summary
JVSTClass(com.db4o.reflect.Reflector reflector, JVSTReflector jreflector, javassist.ClassPool pool, java.lang.Class clazz, boolean threadLocal, boolean ignoreNullActivator, PersistOnMethodPolicy persistPolicy, ActivateOnMethodPolicy activatePolicy)
           
 
Method Summary
static boolean doEnhanceMethod(javassist.CtMethod method)
           
 boolean ensureCanBeInstantiated()
           
 com.db4o.reflect.ReflectClass getComponentType()
           
 com.db4o.reflect.ReflectField getDeclaredField(java.lang.String name)
           
 com.db4o.reflect.ReflectField[] getDeclaredFields()
           
 com.db4o.reflect.ReflectClass getDelegate()
           
 java.lang.Class getEnhancedClass()
           
 java.lang.Class getJavaClass()
           
 com.db4o.reflect.ReflectMethod getMethod(java.lang.String methodName, com.db4o.reflect.ReflectClass[] paramClasses)
           
 java.lang.String getName()
           
 com.db4o.reflect.core.ReflectConstructor getSerializableConstructor()
           
 com.db4o.reflect.ReflectClass getSuperclass()
           
 boolean isAbstract()
           
 boolean isArray()
           
 boolean isAssignableFrom(com.db4o.reflect.ReflectClass type)
           
 boolean isCollection()
           
 boolean isInstance(java.lang.Object obj)
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 java.lang.Object newInstance()
           
 java.lang.Object nullValue()
           
 com.db4o.reflect.Reflector reflector()
           
 java.lang.Object[] toArray(java.lang.Object obj)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVATOR_FIELD

public static final java.lang.String ACTIVATOR_FIELD
See Also:
Constant Field Values
Constructor Detail

JVSTClass

public JVSTClass(com.db4o.reflect.Reflector reflector,
                 JVSTReflector jreflector,
                 javassist.ClassPool pool,
                 java.lang.Class clazz,
                 boolean threadLocal,
                 boolean ignoreNullActivator,
                 PersistOnMethodPolicy persistPolicy,
                 ActivateOnMethodPolicy activatePolicy)
Method Detail

doEnhanceMethod

public static boolean doEnhanceMethod(javassist.CtMethod method)

getComponentType

public com.db4o.reflect.ReflectClass getComponentType()
Specified by:
getComponentType in interface com.db4o.reflect.ReflectClass

getDeclaredField

public com.db4o.reflect.ReflectField getDeclaredField(java.lang.String name)
Specified by:
getDeclaredField in interface com.db4o.reflect.ReflectClass

getDeclaredFields

public com.db4o.reflect.ReflectField[] getDeclaredFields()
Specified by:
getDeclaredFields in interface com.db4o.reflect.ReflectClass

getDelegate

public com.db4o.reflect.ReflectClass getDelegate()
Specified by:
getDelegate in interface com.db4o.reflect.ReflectClass

getJavaClass

public java.lang.Class getJavaClass()
Specified by:
getJavaClass in interface com.db4o.reflect.jdk.JavaReflectClass

getMethod

public com.db4o.reflect.ReflectMethod getMethod(java.lang.String methodName,
                                                com.db4o.reflect.ReflectClass[] paramClasses)
Specified by:
getMethod in interface com.db4o.reflect.ReflectClass

getName

public java.lang.String getName()
Specified by:
getName in interface com.db4o.reflect.ReflectClass

getSuperclass

public com.db4o.reflect.ReflectClass getSuperclass()
Specified by:
getSuperclass in interface com.db4o.reflect.ReflectClass

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface com.db4o.reflect.ReflectClass

isArray

public boolean isArray()
Specified by:
isArray in interface com.db4o.reflect.ReflectClass

isAssignableFrom

public boolean isAssignableFrom(com.db4o.reflect.ReflectClass type)
Specified by:
isAssignableFrom in interface com.db4o.reflect.ReflectClass

isCollection

public boolean isCollection()
Specified by:
isCollection in interface com.db4o.reflect.ReflectClass

isInstance

public boolean isInstance(java.lang.Object obj)
Specified by:
isInstance in interface com.db4o.reflect.ReflectClass

isInterface

public boolean isInterface()
Specified by:
isInterface in interface com.db4o.reflect.ReflectClass

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in interface com.db4o.reflect.ReflectClass

newInstance

public java.lang.Object newInstance()
Specified by:
newInstance in interface com.db4o.reflect.ReflectClass

reflector

public com.db4o.reflect.Reflector reflector()
Specified by:
reflector in interface com.db4o.reflect.ReflectClass

toArray

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

toString

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

getSerializableConstructor

public com.db4o.reflect.core.ReflectConstructor getSerializableConstructor()
Specified by:
getSerializableConstructor in interface com.db4o.reflect.core.ConstructorAwareReflectClass

ensureCanBeInstantiated

public boolean ensureCanBeInstantiated()
Specified by:
ensureCanBeInstantiated in interface com.db4o.reflect.ReflectClass

nullValue

public java.lang.Object nullValue()
Specified by:
nullValue in interface com.db4o.reflect.ReflectClass

getEnhancedClass

public java.lang.Class getEnhancedClass()


Copyright © 2009. All Rights Reserved.