public final class InvokeDynamic
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static lombok.Actions.Action1<java.lang.Object> |
invokeMethod(java.lang.String methodName)
Returns a one-argument action which invokes the no-arg method on this argument
|
static lombok.Actions.Action1<java.lang.Object> |
invokeMethod(java.lang.String methodName,
java.lang.Object[] obj)
Returns a one-argument action which invokes the one-arg method on this argument
|
static lombok.Actions.Action0 |
invokeMethodWithNoArgsOn(java.lang.Object obj,
java.lang.String methodName)
A no-argument action which invokes the method name specified on the given object.
|
static lombok.Actions.Action1<java.lang.Object> |
invokeMethodWithOneArgOn(java.lang.Object obj,
java.lang.String methodName)
Returns a one-argument action which invokes the method name specified on the given object, passing the function argument to the invoked
method.
|
public static lombok.Actions.Action0 invokeMethodWithNoArgsOn(java.lang.Object obj, java.lang.String methodName)
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 lombok.Actions.Action1<java.lang.Object> invokeMethodWithOneArgOn(java.lang.Object obj, java.lang.String methodName)
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 lombok.Actions.Action1<java.lang.Object> invokeMethod(java.lang.String methodName)
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 lombok.Actions.Action1<java.lang.Object> invokeMethod(java.lang.String methodName, java.lang.Object[] obj)
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