public class MethodParameterImpl extends Object implements MethodParameter
MethodParameter
that
has immutable position and valueConstructor 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()
MethodParameter
MethodParameter.getParameterValue()
result should
gogetParameterPosition
in interface MethodParameter
public Object getParameterValue()
MethodParameter
MethodParameter.getParameterPosition()
getParameterValue
in interface MethodParameter
Copyright © 2009–2019 Oracle Corporation. All rights reserved.