public final class InvokeNoArgs
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> Functions.Function1<java.lang.Object,T> |
invokeFunction(java.lang.reflect.Method _method)
A no-argument function which invokes the method name specified on the given object.
|
static Actions.Action1<java.lang.Object> |
invokeMethod(java.lang.reflect.Method _method)
A no-argument action which invokes the method specified on the given object.
|
static Functions.Function1<java.lang.Object,java.lang.Void> |
invokeMethodFunc(java.lang.reflect.Method _method)
A no-argument action which invokes the method specified on the given object.
|
public static Actions.Action1<java.lang.Object> invokeMethod(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 Functions.Function1<java.lang.Object,java.lang.Void> invokeMethodFunc(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> Functions.Function1<java.lang.Object,T> invokeFunction(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