Module lettuce.core
Package io.lettuce.core.dynamic.support
Interface ResolvableType.VariableResolver
- All Superinterfaces:
Serializable
- Enclosing class:
- ResolvableType
public static interface ResolvableType.VariableResolver extends Serializable
Strategy interface used to resolve
TypeVariables.-
Method Summary
Modifier and Type Method Description ObjectgetSource()Return the source of the resolver (used for hashCode and equals).ResolvableTyperesolveVariable(TypeVariable<?> variable)Resolve the specified variable.
-
Method Details
-
getSource
Object getSource()Return the source of the resolver (used for hashCode and equals). -
resolveVariable
Resolve the specified variable.- Parameters:
variable- the variable to resolve- Returns:
- the resolved variable, or
nullif not found
-