Class AccessibleMethod
- java.lang.Object
-
- com.epam.reportportal.utils.reflect.AccessibleMethod
-
public class AccessibleMethod extends java.lang.ObjectUtility class to decorate routine code of invoking a method thought Reflections.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(java.lang.Object... args)Set given method.
-
-
-
Method Detail
-
invoke
@Nullable public java.lang.Object invoke(@Nullable java.lang.Object... args) throws java.lang.ThrowableSet given method.- Parameters:
args- arguments to pass to the method- Returns:
- method call result
- Throws:
java.lang.Throwable- a throwable which was thrown during the method execution
-
-