| Modifier and Type | Field and Description |
|---|---|
| private static final PropertyAccessor | |
| private static final PropertyAccessor | |
| public static final Class | |
| public static final Object[] | |
| private static final Method | |
| private static final Method | |
| public static final Class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Class | Returns: The class reference.The class name name, Class<T> The class from which this call originated (in order to access that class's loader). caller)Perform resolution of a class name. |
| public static Class | Returns: The class reference.The class name name)Perform resolution of a class name. |
| public static Method | Returns: The equals method referenceThe class from which to extract the equals method. clazz)Encapsulation of getting hold of a class's |
| public static Method | Returns: The hashCode method referenceThe class from which to extract the hashCode method. clazz)Encapsulation of getting hold of a class's |
| public static Object | |
| public static Constructor | Returns: The matching constructor.The class needing instantiation clazz, Type[] The types representing the required ctor param signature types)Retrieve a constructor for the given class, with arguments matching the specified Hibernate mapping
|
| public static Constructor | Returns: The default constructor.The class for which to retrieve the default ctor. clazz)Retrieve the default (no arg) constructor from the given class. |
| public static Getter | Returns: The getter.The class owning the property theClass, String The name of the property name)Directly retrieve the |
| public static Method | |
| private static Getter | |
| public static boolean | Returns: True if the class does implement the interface, false otherwise.The class to check clazz, Class<T> The interface to check it against. intf)Determine if the given class implements the given interface. |
| public static boolean | Returns: True if the class is abstract, false otherwise.The class to check. clazz)Determine if the given class is declared abstract. |
| public static boolean | Returns: True if the class is final, flase otherwise.The class to check. clazz)Determine is the given class is declared final. |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: True if clazz defines an equals override.The class to check clazz)Determine if the given class defines an |
| public static boolean | Returns: True if clazz defines an hashCode override.The class to check clazz)Determine if the given class defines a |
| public static Class | Returns: The type of the property.The name of the class owning the property. className, String The name of the property. name)Attempt to resolve the specified property type through reflection. |
| BASIC_PROPERTY_ACCESSOR | back to summary |
|---|---|
| private static final PropertyAccessor BASIC_PROPERTY_ACCESSOR | |
| DIRECT_PROPERTY_ACCESSOR | back to summary |
|---|---|
| private static final PropertyAccessor DIRECT_PROPERTY_ACCESSOR | |
| NO_PARAM_SIGNATURE | back to summary |
|---|---|
| public static final Class<T>[] NO_PARAM_SIGNATURE | |
| NO_PARAMS | back to summary |
|---|---|
| public static final Object[] NO_PARAMS | |
| OBJECT_EQUALS | back to summary |
|---|---|
| private static final Method OBJECT_EQUALS | |
| OBJECT_HASHCODE | back to summary |
|---|---|
| private static final Method OBJECT_HASHCODE | |
| SINGLE_OBJECT_PARAM_SIGNATURE | back to summary |
|---|---|
| public static final Class<T>[] SINGLE_OBJECT_PARAM_SIGNATURE | |
| ReflectHelper | back to summary |
|---|---|
| private ReflectHelper() Disallow instantiation of ReflectHelper. | |
| classForName | back to summary |
|---|---|
| public static Class Perform resolution of a class name.
Here we first check the context classloader, if one, before delegating to
| |
| classForName | back to summary |
|---|---|
| public static Class Perform resolution of a class name.
Same as | |
| extractEqualsMethod | back to summary |
|---|---|
| public static Method extractEqualsMethod(Class<T> clazz) throws NoSuchMethodException Encapsulation of getting hold of a class's
| |
| extractHashCodeMethod | back to summary |
|---|---|
| public static Method extractHashCodeMethod(Class<T> clazz) throws NoSuchMethodException Encapsulation of getting hold of a class's
| |
| getConstantValue | back to summary |
|---|---|
| public static Object getConstantValue(String name) Resolve a constant to its actual value. | |
| getConstructor | back to summary |
|---|---|
| public static Constructor Retrieve a constructor for the given class, with arguments matching the specified Hibernate mapping
| |
| getDefaultConstructor | back to summary |
|---|---|
| public static Constructor Retrieve the default (no arg) constructor from the given class.
| |
| getGetter | back to summary |
|---|---|
| public static Getter getGetter(Class<T> theClass, String name) throws MappingException Directly retrieve the
| |
| getMethod | back to summary |
|---|---|
| public static Method getMethod(Class<T> clazz, Method method) | |
| getter | back to summary |
|---|---|
| private static Getter getter(Class<T> clazz, String name) throws MappingException | |
| implementsInterface | back to summary |
|---|---|
| public static boolean implementsInterface(Class<T> clazz, Class<T> intf) Determine if the given class implements the given interface. | |
| isAbstractClass | back to summary |
|---|---|
| public static boolean isAbstractClass(Class<T> clazz) Determine if the given class is declared abstract.
| |
| isFinalClass | back to summary |
|---|---|
| public static boolean isFinalClass(Class<T> clazz) Determine is the given class is declared final.
| |
| isPublic | back to summary |
|---|---|
| public static boolean isPublic(Member member) Is this member publicly accessible.
Short-hand for
| |
| isPublic | back to summary |
|---|---|
| public static boolean isPublic(Class<T> clazz, Member member) Is this member publicly accessible. | |
| overridesEquals | back to summary |
|---|---|
| public static boolean overridesEquals(Class<T> clazz) Determine if the given class defines an
| |
| overridesHashCode | back to summary |
|---|---|
| public static boolean overridesHashCode(Class<T> clazz) Determine if the given class defines a
| |
| reflectedPropertyClass | back to summary |
|---|---|
| public static Class Attempt to resolve the specified property type through reflection.
| |