Class AccessibleMethod


  • public class AccessibleMethod
    extends java.lang.Object
    Utility 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.Object invoke​(java.lang.Object... args)
      Set given method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • invoke

        @Nullable
        public java.lang.Object invoke​(@Nullable
                                       java.lang.Object... args)
                                throws java.lang.Throwable
        Set 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