net.sf.beanlib.hibernate
Class UnEnhancer
java.lang.Object
net.sf.beanlib.hibernate.UnEnhancer
public class UnEnhancer
- extends Object
- Author:
- Joe D. Velopar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAVASSIST_STARTWITH
private static final String JAVASSIST_STARTWITH
- See Also:
- Constant Field Values
JAVASSIST_INDEXOF
private static final String JAVASSIST_INDEXOF
- See Also:
- Constant Field Values
UnEnhancer
private UnEnhancer()
isJavassistEnhanced
private static boolean isJavassistEnhanced(Class c)
- Returns true if the given class is found to be a javassist enhanced class;
false otherwise.
unenhanceClass
public static <T> Class<T> unenhanceClass(Class c)
- Digs out the pre CGLIB/Javassist enhanced class, if any.
getActualClass
public static <T> Class<T> getActualClass(Object object)
unenhanceObject
public static <T> T unenhanceObject(T object)