public final class InvokeOneArg
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
invokeFunction(java.lang.Object arg,
java.lang.Object _obj,
java.lang.reflect.Method _method)
A one-argument function which invokes the method specified on the given object, passing the function argument to the invoked method.
|
static void |
invokeMethod(java.lang.Object arg,
java.lang.Object _obj,
java.lang.reflect.Method _method)
A one-argument action which invokes the method specified on the given object, passing the function argument to the invoked method.
|
static java.lang.Void |
invokeMethodFunc(java.lang.Object arg,
java.lang.Object _obj,
java.lang.reflect.Method _method)
A one-argument action which invokes the method specified on the given object, passing the function argument to the invoked method.
|
public static void invokeMethod(java.lang.Object arg, java.lang.Object _obj, java.lang.reflect.Method _method)
java.lang.NullPointerException
- An argument is nulljava.lang.IllegalArgumentException
- There is no method found having the specified method name on the given object, or more than one
methods have the specified namepublic static java.lang.Void invokeMethodFunc(java.lang.Object arg, java.lang.Object _obj, java.lang.reflect.Method _method)
java.lang.NullPointerException
- An argument is nulljava.lang.IllegalArgumentException
- There is no method found having the specified method name on the given object, or more than one
methods have the specified namepublic static <T> T invokeFunction(java.lang.Object arg, java.lang.Object _obj, java.lang.reflect.Method _method)
java.lang.NullPointerException
- An argument is nulljava.lang.IllegalArgumentException
- There is no method found having the specified method name on the given object, or more than one
methods have the specified name