public class MethodParameterImpl extends java.lang.Object implements MethodParameter
MethodParameter that
has immutable position and value| Modifier and Type | Field and Description |
|---|---|
private int |
index |
private java.lang.Object |
value |
| Constructor and Description |
|---|
MethodParameterImpl(int index,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
int |
getParameterPosition()
Returns the index of the parameter for which
the
MethodParameter.getParameterValue() result should
go |
java.lang.Object |
getParameterValue()
The value that should be given to the
method at the parameter position specified
by
MethodParameter.getParameterPosition() |
java.lang.String |
toString() |
public MethodParameterImpl(int index,
java.lang.Object value)
public int getParameterPosition()
MethodParameterMethodParameter.getParameterValue() result should
gogetParameterPosition in interface MethodParameterpublic java.lang.Object getParameterValue()
MethodParameterMethodParameter.getParameterPosition()getParameterValue in interface MethodParameterpublic java.lang.String toString()
toString in class java.lang.Object