net.sf.hibernate.util
Class ReflectHelper
java.lang.Object
net.sf.hibernate.util.ReflectHelper
- public final class ReflectHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_ACCESS_EXCEPTION
public static final String PROPERTY_ACCESS_EXCEPTION
- See Also:
- Constant Field Values
overridesEquals
public static boolean overridesEquals(Class clazz)
reflectedPropertyType
public static Type reflectedPropertyType(Class theClass,
String name)
throws MappingException
- Throws:
MappingException
reflectedPropertyClass
public static Class reflectedPropertyClass(Class theClass,
String name)
throws MappingException
- Throws:
MappingException
getter
public static Getter getter(Class theClass,
String name)
throws MappingException
- Throws:
MappingException
classForName
public static Class classForName(String name)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
isPublic
public static boolean isPublic(Class clazz,
Member member)
getConstantValue
public static Object getConstantValue(String name)
getDefaultConstructor
public static Constructor getDefaultConstructor(Class clazz)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException
isAbstractClass
public static boolean isAbstractClass(Class clazz)
getBulkBean
public static net.sf.cglib.beans.BulkBean getBulkBean(Class clazz,
String[] getterNames,
String[] setterNames,
Class[] types)
getConstructor
public static Constructor getConstructor(Class clazz,
Type[] types)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException
getPropertyName
public static String getPropertyName(Throwable t,
net.sf.cglib.beans.BulkBean optimizer)