MethodParameter that
has immutable position and value
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | getParameterPosition()
Implements org. Returns the index of the parameter for which
the |
| public Object | getParameterValue()
Implements org. The value that should be given to the
method at the parameter position specified
by |
| public String |
| index | back to summary |
|---|---|
| private final int index | |
| value | back to summary |
|---|---|
| private final Object value | |
| MethodParameterImpl | back to summary |
|---|---|
| public MethodParameterImpl(int index, Object value) | |
| getParameterPosition | back to summary |
|---|---|
| public int getParameterPosition() Implements org. Doc from org. Returns the index of the parameter for which
the
| |
| getParameterValue | back to summary |
|---|---|
| public Object getParameterValue() Implements org. Doc from org. The value that should be given to the
method at the parameter position specified
by
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |