public class ReflectionUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReflectionUtils.PropertyDescriptor |
Constructor and Description |
---|
ReflectionUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Method> |
findCompatibleMethods(Class clazz,
String name,
Class[] paramTypes) |
static Set<String> |
getImplementedInterfaces(Set<String> classes,
Class clazz) |
static Method |
getLifecycleMethod(Class clazz,
String name) |
static ReflectionUtils.PropertyDescriptor[] |
getPropertyDescriptors(Class clazz,
boolean allowFieldInjection) |
static Throwable |
getRealCause(Throwable t) |
static Set<String> |
getSuperClasses(Set<String> classes,
Class clazz) |
static boolean |
hasDefaultConstructor(Class type) |
static Object |
invoke(AccessControlContext acc,
Method method,
Object instance,
Object... args) |
static Object |
newInstance(AccessControlContext acc,
Class clazz) |
static Object |
newInstance(AccessControlContext acc,
Constructor constructor,
Object... args) |
public static boolean hasDefaultConstructor(Class type)
public static Set<String> getImplementedInterfaces(Set<String> classes, Class clazz)
public static List<Method> findCompatibleMethods(Class clazz, String name, Class[] paramTypes)
public static ReflectionUtils.PropertyDescriptor[] getPropertyDescriptors(Class clazz, boolean allowFieldInjection)
public static Object invoke(AccessControlContext acc, Method method, Object instance, Object... args) throws Exception
Exception
public static Object newInstance(AccessControlContext acc, Class clazz) throws Exception
Exception
public static Object newInstance(AccessControlContext acc, Constructor constructor, Object... args) throws Exception
Exception
Copyright © 2013. All Rights Reserved.