| Modifier and Type | Field and Description |
|---|---|
| private static final Method | |
| private static final Method | |
| private static final Method | |
| public static final Class | |
| private static final Method | |
| private static final Method | |
| private static final Class | |
| public static final Class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public 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.
ClassLoaderService
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 <T> Class | |
| 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 types. |
| 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 | |
| public static Method | Returns: The getter method, ornull if there is none.The Class which contains the property containerClass, String The name of the property propertyName)Find the method that can be used as the getter for this property. |
| public static Method | |
| public static Method | |
| public static Class | |
| public static String[] | |
| public static Class | |
| 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 | |
| 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 | |
| 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 Type | |
| public static Method | setterMethodOrNull(final Class<T> containerClass, final String propertyName, final Class<T> propertyType)
|
| public static Method | setterMethodOrNullBySetterName(final Class<T> containerClass, final String setterName, final Class<T> propertyType)
|
| private static Method | |
| private static Method | |
| private static Method | |
| private static Method | |
| public static void | verifyNoGetVariantExists(Class<T> containerClass, String propertyName, Method isMethod, String stemName)
|
| public static void | verifyNoIsVariantExists(Class<?> containerClass, String propertyName, Method getMethod, String stemName)
|
| GET_NAME | back to summary |
|---|---|
| private static final Method GET_NAME | |
| GET_RECORD_COMPONENTS | back to summary |
|---|---|
| private static final Method GET_RECORD_COMPONENTS | |
| GET_TYPE | back to summary |
|---|---|
| private static final Method GET_TYPE | |
| NO_PARAM_SIGNATURE | back to summary |
|---|---|
| public static final Class<T>[] NO_PARAM_SIGNATURE | |
| OBJECT_EQUALS | back to summary |
|---|---|
| private static final Method OBJECT_EQUALS | |
| OBJECT_HASHCODE | back to summary |
|---|---|
| private static final Method OBJECT_HASHCODE | |
| RECORD_CLASS | back to summary |
|---|---|
| private static final Class<?> RECORD_CLASS | |
| 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 |
|---|---|
| public 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) | |
| getClass | back to summary |
|---|---|
| public static <T> Class | |
| getConstructor | back to summary |
|---|---|
| public static Constructor Retrieve a constructor for the given class, with arguments matching the specified Hibernate mapping types.
| |
| 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 |
|---|---|
| public static Method getGetterOrNull(Class<T> containerClass, String propertyName) Find the method that can be used as the getter for this property.
| |
| 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) | |
| getPropertyType | back to summary |
|---|---|
| public static Class | |
| getRecordComponentNames | back to summary |
|---|---|
| public static String[] getRecordComponentNames(Class<?> javaType) | |
| getRecordComponentTypes | back to summary |
|---|---|
| public static Class | |
| 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.
| |
| isClass | back to summary |
|---|---|
| public static boolean isClass(Class<?> resultClass) | |
| 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. | |
| isRecord | back to summary |
|---|---|
| public static boolean isRecord(Class<?> declaringClass) | |
| 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.
| |
| reflectedPropertyType | back to summary |
|---|---|
| public static Type reflectedPropertyType(String className, String name, ClassLoaderService classLoaderService) throws MappingException | |
| setterMethodOrNull | back to summary |
|---|---|
| public static Method setterMethodOrNull(final Class<T> containerClass, final String propertyName, final Class<T> propertyType) | |
| setterMethodOrNullBySetterName | back to summary |
|---|---|
| public static Method setterMethodOrNullBySetterName(final Class<T> containerClass, final String setterName, 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) | |
| setterOrNullBySetterName | back to summary |
|---|---|
| private static Method setterOrNullBySetterName(Class<T>[] interfaces, String setterName, Class<T> propertyType) | |
| setterOrNullBySetterName | back to summary |
|---|---|
| private static Method setterOrNullBySetterName(Class<T> theClass, String setterName, Class<T> propertyType) | |
| verifyNoGetVariantExists | back to summary |
|---|---|
| public static void verifyNoGetVariantExists(Class<T> containerClass, String propertyName, Method isMethod, String stemName) | |
| verifyNoIsVariantExists | back to summary |
|---|---|
| public static void verifyNoIsVariantExists(Class<?> containerClass, String propertyName, Method getMethod, String stemName) | |