Package com.evolveum.midpoint.util
Class ReflectionUtil
- java.lang.Object
 - 
- com.evolveum.midpoint.util.ReflectionUtil
 
 
- 
public class ReflectionUtil extends Object
- Author:
 - semancik
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ReflectionUtil() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdebugDumpArgList(List<?> argList)static MethodfindGetter(Object object, String propertyName)static MethodfindMethod(Object object, String methodName, int arity)static MethodfindMethod(Object object, String methodName, List<?> argList)static MethodfindVarArgsMethod(Object object, String methodName)static <T> TgetJavaProperty(Object object, String propertyName, Class<T> propetyClass)Try to get java property from the object by reflectionstatic booleanhasJavaProperty(Object object, String propertyName)static ObjectinvokeMethod(Object object, String methodName, List<?> argList) 
 - 
 
- 
- 
Method Detail
- 
getJavaProperty
public static <T> T getJavaProperty(Object object, String propertyName, Class<T> propetyClass)
Try to get java property from the object by reflection 
- 
findMethod
public static Method findMethod(Object object, String methodName, List<?> argList) throws SecurityException
- Throws:
 SecurityException
 
- 
invokeMethod
public static Object invokeMethod(Object object, String methodName, List<?> argList) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
 
 - 
 
 -