ReflectionUtil@Deprecated
public class ReflectionUtil
extends Object
| Constructor and Description |
|---|
ReflectionUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
arrayClone(Object array)
Deprecated.
|
static Field |
getDeclaredField(Class<?> clazz,
String name)
Deprecated.
|
static Field[] |
getDeclaredFields(Class<?> clazz)
Deprecated.
|
static Method |
getDeclaredMethod(Class<?> clazz,
String name,
Class<?>... parameterTypes)
Deprecated.
|
static Type |
getGenericInterface(Object object,
Class<?> interfaceClass)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static Class<?> |
getGenericSuperType(Class<?> clazz)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static Class<?>[] |
getInterfaces(Object object)
Deprecated.
|
static Class<?>[] |
getInterfaces(Object object,
ClassLoader classLoader)
Deprecated.
|
static Class<?>[] |
getInterfaces(Object object,
ClassLoader classLoader,
Consumer<ClassNotFoundException> classNotFoundHandler)
Deprecated.
|
static Class<?>[] |
getParameterTypes(Object[] arguments)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static Set<Method> |
getVisibleMethods(Class<?> clazz)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static <T> T |
throwException(Throwable throwable)
Deprecated.
|
static Field |
unfinalField(Field field)
Deprecated.
|
public static Object arrayClone(Object array)
public static Field getDeclaredField(Class<?> clazz,
String name)
throws Exception
Exceptionpublic static Field[] getDeclaredFields(Class<?> clazz)
throws Exception
Exceptionpublic static Method getDeclaredMethod(Class<?> clazz,
String name,
Class<?>... parameterTypes)
throws Exception
Exception@Deprecated
public static Type getGenericInterface(Object object,
Class<?> interfaceClass)
@Deprecated public static Class<?> getGenericSuperType(Class<?> clazz)
public static Class<?>[] getInterfaces(Object object)
public static Class<?>[] getInterfaces(Object object,
ClassLoader classLoader)
public static Class<?>[] getInterfaces(Object object,
ClassLoader classLoader,
Consumer<ClassNotFoundException> classNotFoundHandler)
@Deprecated public static Class<?>[] getParameterTypes(Object[] arguments)
@Deprecated public static Set<Method> getVisibleMethods(Class<?> clazz)
public static <T> T throwException(Throwable throwable)
public static Field unfinalField(Field field)
throws Exception
Exception