Package com.evolveum.midpoint.util
Class ReflectionUtil
java.lang.Object
com.evolveum.midpoint.util.ReflectionUtil
- Author:
- semancik
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic 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) 
- 
Constructor Details- 
ReflectionUtilpublic ReflectionUtil()
 
- 
- 
Method Details- 
getJavaPropertyTry to get java property from the object by reflection
- 
hasJavaProperty
- 
findGetter
- 
findMethod
- 
findMethodpublic static Method findMethod(Object object, String methodName, List<?> argList) throws SecurityException - Throws:
- SecurityException
 
- 
findVarArgsMethod
- 
invokeMethodpublic static Object invokeMethod(Object object, String methodName, List<?> argList) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException 
- 
debugDumpArgList
 
-