public class ReflectionUtil extends Object
Constructor and Description |
---|
ReflectionUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
debugDumpArgList(List<?> argList) |
static Method |
findGetter(Object object,
String propertyName) |
static Method |
findMethod(Object object,
String methodName,
int arity) |
static Method |
findMethod(Object object,
String methodName,
List<?> argList) |
static Method |
findVarArgsMethod(Object object,
String methodName) |
static <T> T |
getJavaProperty(Object object,
String propertyName,
Class<T> propetyClass)
Try to get java property from the object by reflection
|
static boolean |
hasJavaProperty(Object object,
String propertyName) |
static Object |
invokeMethod(Object object,
String methodName,
List<?> argList) |
public static <T> T getJavaProperty(Object object, String propertyName, Class<T> propetyClass)
public static Method findMethod(Object object, String methodName, List<?> argList) throws SecurityException
SecurityException
public static Object invokeMethod(Object object, String methodName, List<?> argList) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
Copyright © 2016 evolveum. All rights reserved.