org.hibernate.util.ReflectHelper .
| Modifier and Type | Field and Description |
|---|---|
| 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 Method | |
| 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 | 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 |
| 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. | |
| getMethod | back to summary |
|---|---|
| public static Method getMethod(Class<T> clazz, Method method) | |
| 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. | |
| 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
| |