public final class InvokeNoArgs
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
invokeFunction(java.lang.Object obj,
java.lang.reflect.Method _method)
A no-argument function which invokes the method name specified on the given object.
|
static void |
invokeMethod(java.lang.Object obj,
java.lang.reflect.Method _method)
A no-argument action which invokes the method specified on the given object.
|
static java.lang.Void |
invokeMethodFunc(java.lang.Object obj,
java.lang.reflect.Method _method)
A no-argument action which invokes the method specified on the given object.
|
public static void invokeMethod(java.lang.Object obj, java.lang.reflect.Method _method)
java.lang.NullPointerException
- An argument is nulljava.lang.IllegalAccessException
- The method is inaccessiblejava.lang.Throwable
- Some exception thrown during the given method's executionpublic static java.lang.Void invokeMethodFunc(java.lang.Object obj, java.lang.reflect.Method _method)
java.lang.NullPointerException
- An argument is nulljava.lang.IllegalAccessException
- The method is inaccessiblejava.lang.Throwable
- Some exception thrown during the given method's executionpublic static <T> T invokeFunction(java.lang.Object obj, java.lang.reflect.Method _method)
java.lang.NullPointerException
- An argument is nulljava.lang.IllegalAccessException
- The method is inaccessiblejava.lang.Throwable
- Some exception thrown during the given function's execution