public class ReflectionUtil extends Object
| Constructor and Description |
|---|
ReflectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
genericMethodInvocation(Method method,
java.util.function.Supplier<Object[]> parameters,
Object invokeTo)
invoke a method with given parameters
|
static <T> Object[] |
invokeParameters(Method method,
Throwable t,
T handler)
Invoke a vxms event-bus method parameters
|
public static <T> Object[] invokeParameters(Method method, Throwable t, T handler)
T - the typemethod - the method identifiert - the failurehandler - the handlerpublic static void genericMethodInvocation(Method method, java.util.function.Supplier<Object[]> parameters, Object invokeTo) throws Throwable
method - the methodparameters - the parametersinvokeTo - the targetThrowable - the exceptionCopyright © 2017. All rights reserved.