public class InvocationArguments
extends java.lang.Object
implements java.lang.Iterable<java.lang.Object>
Iterable
of Method
invocation arguments
.Iterable
Constructor and Description |
---|
InvocationArguments(java.lang.Object[] arguments)
Constructs a new instance of
InvocationArguments initialized with the given array of
arguments . |
Modifier and Type | Method and Description |
---|---|
static InvocationArguments |
from(java.lang.Object... arguments) |
protected <T> T |
getArgumentAt(int index) |
protected java.lang.Object[] |
getArguments() |
java.util.Iterator<java.lang.Object> |
iterator() |
int |
size() |
java.lang.String |
toString() |
public InvocationArguments(java.lang.Object[] arguments)
InvocationArguments
initialized with the given array of
arguments
.arguments
- array of arguments
indicating the values passed to the Method
invocation
parameters; may be null.public static InvocationArguments from(java.lang.Object... arguments)
protected java.lang.Object[] getArguments()
protected <T> T getArgumentAt(int index)
public java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
public int size()
public java.lang.String toString()
toString
in class java.lang.Object