public interface MethodParametersAccessor
| Modifier and Type | Method and Description |
|---|---|
Object |
getBindableValue(int index)
Returns the bindable value with the given index.
|
int |
getParameterCount() |
boolean |
isBindableNullValue(int index)
Return
true if the parameter at index is a bindable null value that requires a null value
instead of being skipped. |
boolean |
isKey(int index) |
boolean |
isValue(int index) |
Iterator<Object> |
iterator()
Returns an iterator over all bindable parameters.
|
int |
resolveParameterIndex(String name)
Resolve a parameter name to its index.
|
int getParameterCount()
Object getBindableValue(int index)
Timeout values are skipped without noticed
in the index. For a method signature taking String, Timeout , String,
#getBindableParameter(1) would return the second String value.index - parameter index.boolean isKey(int index)
index - parameter index.true if the parameter at index is a key.boolean isValue(int index)
index - parameter index.true if the parameter at index is a value.Iterator<Object> iterator()
Timeout will not
be included in this Iterator.int resolveParameterIndex(String name)
name - the name.boolean isBindableNullValue(int index)
true if the parameter at index is a bindable null value that requires a null value
instead of being skipped.index - parameter index.true if the parameter at index is a bindable null value that requires a null
value instead of being skipped.Copyright © 2020 lettuce.io. All rights reserved.