public class MethodParameterImpl extends Object implements MethodParameter
MethodParameter that
has immutable position and value| Constructor and Description |
|---|
MethodParameterImpl(int index,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
int |
getParameterPosition()
Returns the index of the parameter for which
the
MethodParameter.getParameterValue() result should
go |
Object |
getParameterValue()
The value that should be given to the
method at the parameter position specified
by
MethodParameter.getParameterPosition() |
String |
toString() |
public MethodParameterImpl(int index,
Object value)
public int getParameterPosition()
MethodParameterMethodParameter.getParameterValue() result should
gogetParameterPosition in interface MethodParameterpublic Object getParameterValue()
MethodParameterMethodParameter.getParameterPosition()getParameterValue in interface MethodParameterCopyright © 2009–2019 Oracle Corporation. All rights reserved.