| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| 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 |
|---|---|
| private static void | checkGetAndIsVariants(Class<T> containerClass, String propertyName, Method getMethod, Method isMethod)
|
| 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)
Deprecated
Depending on context, either
Perform resolution of a class name.
org.
or org. should be preferred
|
| public static void | |
| 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 Field | |
| public static Method | |
| public static Method | findGetterMethodForFieldAccess(Field field, String propertyName)
Similar to |
| public static Method | findSetterMethod(final Class<T> containerClass, final String propertyName, final Class<T> propertyType)
|
| public static Object | getConstantValue(String name, SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| 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 <T> Constructor | |
| public static <T> 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. |
| private static Method | |
| private static Method | |
| public static Method | |
| public static Method | |
| private static Getter | |
| public static Method | |
| 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, false otherwise.The class to check. clazz)Determine is the given class is declared final. |
| public static boolean | |
| public static boolean | |
| private static Field | |
| 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, ClassLoaderService ClassLoader services classLoaderService)Attempt to resolve the specified property type through reflection. |
| public static Class | Returns: The type of the property.The class owning the property. clazz, String The name of the property. name)Attempt to resolve the specified property type through reflection. |
| public static Method | setterMethodOrNull(final Class<T> containerClass, final String propertyName, final Class<T> propertyType)
|
| private static Method | |
| private static Method | |
| private static void | verifyNoGetVariantExists(Class<T> containerClass, String propertyName, Method isMethod, String stemName)
|
| private static void | verifyNoIsVariantExists(Class<T> containerClass, String propertyName, Method getMethod, String stemName)
|
| JAVA_CONSTANT_PATTERN | back to summary |
|---|---|
| private static final Pattern JAVA_CONSTANT_PATTERN | |
| 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. | |
| checkGetAndIsVariants | back to summary |
|---|---|
| private static void checkGetAndIsVariants(Class<T> containerClass, String propertyName, Method getMethod, Method isMethod) | |
| 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 Deprecated Depending on context, either Perform resolution of a class name.
Same as | |
| ensureAccessibility | back to summary |
|---|---|
| public static void ensureAccessibility(AccessibleObject accessibleObject) | |
| 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
| |
| findField | back to summary |
|---|---|
| public static Field findField(Class<T> containerClass, String propertyName) | |
| findGetterMethod | back to summary |
|---|---|
| public static Method findGetterMethod(Class<T> containerClass, String propertyName) | |
| findGetterMethodForFieldAccess | back to summary |
|---|---|
| public static Method findGetterMethodForFieldAccess(Field field, String propertyName) Similar to | |
| findSetterMethod | back to summary |
|---|---|
| public static Method findSetterMethod(final Class<T> containerClass, final String propertyName, final Class<T> propertyType) | |
| getConstantValue | back to summary |
|---|---|
| public static Object getConstantValue(String name, SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| getConstructor | back to summary |
|---|---|
| public static Constructor Retrieve a constructor for the given class, with arguments matching the specified Hibernate mapping
| |
| getConstructor | back to summary |
|---|---|
| public static <T> Constructor | |
| getDefaultConstructor | back to summary |
|---|---|
| public static <T> Constructor Retrieve the default (no arg) constructor from the given class.
| |
| getGetterOrNull | back to summary |
|---|---|
| private static Method getGetterOrNull(Class<T>[] interfaces, String propertyName) | |
| getGetterOrNull | back to summary |
|---|---|
| private static Method getGetterOrNull(Class<T> containerClass, String propertyName) | |
| getMethod | back to summary |
|---|---|
| public static Method getMethod(Class<T> clazz, Method method) | |
| getMethod | back to summary |
|---|---|
| public static Method getMethod(Class<T> clazz, String methodName, Class<T>... paramTypes) | |
| getter | back to summary |
|---|---|
| private static Getter getter(Class<T> clazz, String name) throws MappingException | |
| getterMethodOrNull | back to summary |
|---|---|
| public static Method getterMethodOrNull(Class<T> containerJavaType, String propertyName) | |
| 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(Class<T> clazz, Member member) Is this member publicly accessible. | |
| isStaticField | back to summary |
|---|---|
| public static boolean isStaticField(Field field) | |
| locateField | back to summary |
|---|---|
| private static Field locateField(Class<T> clazz, String propertyName) | |
| 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.
| |
| reflectedPropertyClass | back to summary |
|---|---|
| public static Class Attempt to resolve the specified property type through reflection.
| |
| setterMethodOrNull | back to summary |
|---|---|
| public static Method setterMethodOrNull(final Class<T> containerClass, final String propertyName, final Class<T> propertyType) | |
| setterOrNull | back to summary |
|---|---|
| private static Method setterOrNull(Class<T>[] interfaces, String propertyName, Class<T> propertyType) | |
| setterOrNull | back to summary |
|---|---|
| private static Method setterOrNull(Class<T> theClass, String propertyName, Class<T> propertyType) | |
| verifyNoGetVariantExists | back to summary |
|---|---|
| private static void verifyNoGetVariantExists(Class<T> containerClass, String propertyName, Method isMethod, String stemName) | |
| verifyNoIsVariantExists | back to summary |
|---|---|
| private static void verifyNoIsVariantExists(Class<T> containerClass, String propertyName, Method getMethod, String stemName) | |