public class MethodParameterImpl extends java.lang.Object implements MethodParameter
MethodParameter
that
has immutable position and valueModifier 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()
MethodParameter
MethodParameter.getParameterValue()
result should
gogetParameterPosition
in interface MethodParameter
public java.lang.Object getParameterValue()
MethodParameter
MethodParameter.getParameterPosition()
getParameterValue
in interface MethodParameter
public java.lang.String toString()
toString
in class java.lang.Object